2018-04-13 09:43:57 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
2017-07-28 09:05:23 +02:00
|
|
|
, sqlite, isPyPy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apsw";
|
2018-04-13 09:43:57 +02:00
|
|
|
version = "3.22.0-r1";
|
2017-07-28 09:05:23 +02:00
|
|
|
|
|
|
|
disabled = isPyPy;
|
|
|
|
|
2018-04-13 09:43:57 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rogerbinns";
|
|
|
|
repo = "apsw";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "02ldvshcgr4c7c8anp4flfnw8g8ys5bflkb8b51rb618qxhhwyak";
|
2017-07-28 09:05:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Python wrapper for the SQLite embedded relational database engine";
|
2018-04-13 09:43:57 +02:00
|
|
|
homepage = https://github.com/rogerbinns/apsw;
|
|
|
|
license = licenses.zlib;
|
2017-07-28 09:05:23 +02:00
|
|
|
};
|
|
|
|
}
|