Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
921 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, sqlite, isPyPy, python}:
buildPythonPackage rec { pname = "apsw"; version = "3.44.2.0"; format = "setuptools";
disabled = isPyPy;
src = fetchFromGitHub { owner = "rogerbinns"; repo = "apsw"; rev = "refs/tags/${version}"; hash = "sha256-H7aqZHU4SXNrfbv6iwHckkNm5MeGkro42+njSoFJgS4="; };
buildInputs = [ sqlite ];
# Project uses custom test setup to exclude some tests by default, so using pytest # requires more maintenance # https://github.com/rogerbinns/apsw/issues/335 checkPhase = '' ${python.interpreter} setup.py test '';
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; [ gador ]; };}