pythonPackages.blist: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:44:30 -04:00
parent 10797302fb
commit ab96dd445e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 24 additions and 10 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
}:
buildPythonPackage rec {
pname = "blist";
version = "1.3.6";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "1hqz9pqbwx0czvq9bjdqjqh5bwfksva1is0anfazig81n18c84is";
};
meta = with stdenv.lib; {
homepage = http://stutzbachenterprises.com/blist/;
description = "A list-like type with better asymptotic performance and similar performance on small lists";
license = licenses.bsd0;
};
}

View File

@ -4365,16 +4365,7 @@ in {
WSGIProxy = callPackage ../development/python-modules/wsgiproxy { };
blist = buildPythonPackage rec {
name = "blist-${version}";
version = "1.3.6";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "mirror://pypi/b/blist/blist-${version}.tar.gz";
sha256 = "1hqz9pqbwx0czvq9bjdqjqh5bwfksva1is0anfazig81n18c84is";
};
};
blist = callPackage ../development/python-modules/blist { };
canonicaljson = callPackage ../development/python-modules/canonicaljson { };