1{ stdenv, buildPythonPackage, fetchFromGitHub
2, sqlite, isPyPy }:
3
4buildPythonPackage rec {
5 pname = "apsw";
6 version = "3.22.0-r1";
7
8 disabled = isPyPy;
9
10 src = fetchFromGitHub {
11 owner = "rogerbinns";
12 repo = "apsw";
13 rev = version;
14 sha256 = "02ldvshcgr4c7c8anp4flfnw8g8ys5bflkb8b51rb618qxhhwyak";
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}