Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchurl, setuptools, sqlite,}:
buildPythonPackage rec { pname = "apsw"; version = "3.48.0.0"; pyproject = true;
# https://github.com/rogerbinns/apsw/issues/548 src = fetchurl { url = "https://github.com/rogerbinns/apsw/releases/download/${version}/apsw-${version}.tar.gz"; hash = "sha256-iwvUW6vOQu2EiUuYWVaz5D3ePSLrj81fmLxoGRaTzRk="; };
build-system = [ setuptools ];
buildInputs = [ sqlite ];
# apsw explicitly doesn't use pytest # see https://github.com/rogerbinns/apsw/issues/548#issuecomment-2891633403 checkPhase = '' runHook preCheck python -m apsw.tests runHook postCheck '';
pythonImportsCheck = [ "apsw" ];
meta = { changelog = "https://github.com/rogerbinns/apsw/blob/${version}/doc/changes.rst"; description = "Python wrapper for the SQLite embedded relational database engine"; homepage = "https://github.com/rogerbinns/apsw"; license = lib.licenses.zlib; maintainers = with lib.maintainers; [ gador ]; };}