11 buildPythonPackage rec {
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
21 rev = "refs/tags/${version}";
22 hash = "sha256-7z9JXJn2a6RJAc+7KrkzzScrNmbb06ud6L1rBinzkP8=";
25 build-system = [ setuptools ];
27 buildInputs = [ sqlite ];
30 # Project uses custom test setup to exclude some tests by default, so using pytest
31 # requires more maintenance
32 # https://github.com/rogerbinns/apsw/issues/335
34 ${python.interpreter} setup.py test
37 pythonImportsCheck = [ "apsw" ];
40 changelog = "https://github.com/rogerbinns/apsw/blob/${src.rev}/doc/changes.rst";
41 description = "A Python wrapper for the SQLite embedded relational database engine";
42 homepage = "https://github.com/rogerbinns/apsw";
43 license = licenses.zlib;
44 maintainers = with maintainers; [ gador ];