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