pythonPackages.blist: refactor move to python-modules
This commit is contained in:
parent
10797302fb
commit
ab96dd445e
23
pkgs/development/python-modules/blist/default.nix
Normal file
23
pkgs/development/python-modules/blist/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user