mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
pythonPackages.heapdict: Move to own file
This commit is contained in:
parent
f73b73d6d6
commit
37b4051b05
20
pkgs/development/python-modules/heapdict/default.nix
Normal file
20
pkgs/development/python-modules/heapdict/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "HeapDict";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0nhvxyjq6fp6zd7jzmk5x4fg6xhakqx9lhkp5yadzkqn0rlf7ja0";
|
||||
};
|
||||
|
||||
doCheck = !isPy3k;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "a heap with decrease-key and increase-key operations.";
|
||||
homepage = http://stutzbachenterprises.com;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ teh ];
|
||||
};
|
||||
}
|
@ -2005,22 +2005,7 @@ in {
|
||||
|
||||
datrie = callPackage ../development/python-modules/datrie { };
|
||||
|
||||
heapdict = buildPythonPackage rec {
|
||||
name = "HeapDict-${version}";
|
||||
version = "1.0.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/H/HeapDict/${name}.tar.gz";
|
||||
sha256 = "0nhvxyjq6fp6zd7jzmk5x4fg6xhakqx9lhkp5yadzkqn0rlf7ja0";
|
||||
};
|
||||
doCheck = !isPy3k;
|
||||
meta = {
|
||||
description = "a heap with decrease-key and increase-key operations.";
|
||||
homepage = http://stutzbachenterprises.com;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ teh ];
|
||||
};
|
||||
};
|
||||
heapdict = callPackage ../development/python-modules/heapdict { };
|
||||
|
||||
zict = buildPythonPackage rec {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user