python.pkgs.apsw: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-28 14:05:23 +07:00
parent 4cae4418e9
commit 6d09e0c9be
2 changed files with 26 additions and 19 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchurl
, sqlite, isPyPy }:
buildPythonPackage rec {
pname = "apsw";
version = "3.7.6.2-r1";
name = "${pname}-${version}";
disabled = isPyPy;
src = fetchurl {
url = "http://apsw.googlecode.com/files/${name}.zip";
sha256 = "cb121b2bce052609570a2f6def914c0aa526ede07b7096dddb78624d77f013eb";
};
buildInputs = [ sqlite ];
# python: double free or corruption (fasttop): 0x0000000002fd4660 ***
doCheck = false;
meta = with stdenv.lib; {
description = "A Python wrapper for the SQLite embedded relational database engine";
homepage = http://code.google.com/p/apsw/;
};
}

View file

@ -588,25 +588,7 @@ in {
};
};
apsw = buildPythonPackage rec {
name = "apsw-3.7.6.2-r1";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "http://apsw.googlecode.com/files/${name}.zip";
sha256 = "cb121b2bce052609570a2f6def914c0aa526ede07b7096dddb78624d77f013eb";
};
buildInputs = with self; [ pkgs.sqlite ];
# python: double free or corruption (fasttop): 0x0000000002fd4660 ***
doCheck = false;
meta = {
description = "A Python wrapper for the SQLite embedded relational database engine";
homepage = http://code.google.com/p/apsw/;
};
};
apsw = callPackage ../development/python-modules/apsw {};
astor = buildPythonPackage rec {
name = "astor-${version}";