pythonPackages.sqlite3dbm: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 13:29:13 -04:00 committed by Frederik Rietdijk
parent b9e2d585d3
commit 749bc38725
2 changed files with 24 additions and 15 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "sqlite3dbm";
version = "0.1.4";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "4721607e0b817b89efdba7e79cab881a03164b94777f4cf796ad5dd59a7612c5";
};
meta = with stdenv.lib; {
description = "sqlite-backed dictionary";
homepage = https://github.com/Yelp/sqlite3dbm;
license = licenses.asl20;
};
}

View File

@ -3740,21 +3740,7 @@ in {
sphfile = callPackage ../development/python-modules/sphfile { };
sqlite3dbm = buildPythonPackage rec {
name = "sqlite3dbm-0.1.4";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/s/sqlite3dbm/${name}.tar.gz";
sha256 = "4721607e0b817b89efdba7e79cab881a03164b94777f4cf796ad5dd59a7612c5";
};
meta = {
description = "sqlite-backed dictionary";
homepage = https://github.com/Yelp/sqlite3dbm;
license = licenses.asl20;
};
};
sqlite3dbm = callPackage ../development/python-modules/sqlite3dbm { };
sqlobject = buildPythonPackage rec {
pname = "SQLObject";