2019-10-22 20:28:15 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch
|
2017-07-28 08:05:23 +01:00
|
|
|
, sqlite, isPyPy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apsw";
|
2019-12-01 15:08:47 +00:00
|
|
|
version = "3.30.1-r1";
|
2017-07-28 08:05:23 +01:00
|
|
|
|
|
|
|
disabled = isPyPy;
|
|
|
|
|
2018-04-13 08:43:57 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rogerbinns";
|
|
|
|
repo = "apsw";
|
|
|
|
rev = version;
|
2019-12-01 15:08:47 +00:00
|
|
|
sha256 = "1zp38gj44bmzfxxpvgd7nixkp8vs2fpl839ag8vrh9z70dax22f0";
|
2017-07-28 08:05:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Python wrapper for the SQLite embedded relational database engine";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rogerbinns/apsw";
|
2018-04-13 08:43:57 +01:00
|
|
|
license = licenses.zlib;
|
2017-07-28 08:05:23 +01:00
|
|
|
};
|
|
|
|
}
|