1{ stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch
2, sqlite, isPyPy }:
3
4buildPythonPackage rec {
5 pname = "apsw";
6 version = "3.33.0-r1";
7
8 disabled = isPyPy;
9
10 src = fetchFromGitHub {
11 owner = "rogerbinns";
12 repo = "apsw";
13 rev = version;
14 sha256 = "05mxcw1382xx22285fnv92xblqby3adfrvvalaw4dc6rzsn6kcan";
15 };
16
17 buildInputs = [ sqlite ];
18
19 meta = with stdenv.lib; {
20 description = "A Python wrapper for the SQLite embedded relational database engine";
21 homepage = "https://github.com/rogerbinns/apsw";
22 license = licenses.zlib;
23 };
24}