2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch
|
2017-07-28 07:05:23 +00:00
|
|
|
, sqlite, isPyPy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apsw";
|
2020-09-04 05:05:03 +00:00
|
|
|
version = "3.33.0-r1";
|
2017-07-28 07:05:23 +00:00
|
|
|
|
|
|
|
disabled = isPyPy;
|
|
|
|
|
2018-04-13 07:43:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rogerbinns";
|
|
|
|
repo = "apsw";
|
|
|
|
rev = version;
|
2020-09-04 05:05:03 +00:00
|
|
|
sha256 = "05mxcw1382xx22285fnv92xblqby3adfrvvalaw4dc6rzsn6kcan";
|
2017-07-28 07:05:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-28 07:05:23 +00:00
|
|
|
description = "A Python wrapper for the SQLite embedded relational database engine";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/rogerbinns/apsw";
|
2018-04-13 07:43:57 +00:00
|
|
|
license = licenses.zlib;
|
2017-07-28 07:05:23 +00:00
|
|
|
};
|
|
|
|
}
|