pythonPackages.heapdict: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 13:28:05 +02:00 committed by Frederik Rietdijk
parent f73b73d6d6
commit 37b4051b05
2 changed files with 21 additions and 16 deletions

View 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 ];
};
}

View File

@ -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 {