python3Packages.apsw: switch to pytestCheckHook, disable failing tests
This commit is contained in:
parent
12584440b0
commit
a008c576cf
@ -1,8 +1,15 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, sqlite, isPyPy }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, sqlite
|
||||
, isPyPy
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apsw";
|
||||
version = "3.33.0-r1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
@ -13,11 +20,35 @@ buildPythonPackage rec {
|
||||
sha256 = "05mxcw1382xx22285fnv92xblqby3adfrvvalaw4dc6rzsn6kcan";
|
||||
};
|
||||
|
||||
buildInputs = [ sqlite ];
|
||||
buildInputs = [
|
||||
sqlite
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"testCursor"
|
||||
"testLoadExtension"
|
||||
"testShell"
|
||||
"testVFS"
|
||||
"testVFSWithWAL"
|
||||
"testdb"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"apsw"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python wrapper for the SQLite embedded relational database engine";
|
||||
homepage = "https://github.com/rogerbinns/apsw";
|
||||
license = licenses.zlib;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user