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