diff options
author | Elis Hirwing <elis@hirwing.se> | 2018-04-03 13:28:05 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-04-04 19:46:00 +0200 |
commit | 37b4051b05f18aa3eb91a03b26bddb3ab59e3c91 (patch) | |
tree | 869c62695d1364227598ec24484c09263ec1cc1c /pkgs/development/python-modules/heapdict | |
parent | f73b73d6d699b86e84bc72168b1b8e2eb86e1e69 (diff) | |
download | nixlib-37b4051b05f18aa3eb91a03b26bddb3ab59e3c91.tar nixlib-37b4051b05f18aa3eb91a03b26bddb3ab59e3c91.tar.gz nixlib-37b4051b05f18aa3eb91a03b26bddb3ab59e3c91.tar.bz2 nixlib-37b4051b05f18aa3eb91a03b26bddb3ab59e3c91.tar.lz nixlib-37b4051b05f18aa3eb91a03b26bddb3ab59e3c91.tar.xz nixlib-37b4051b05f18aa3eb91a03b26bddb3ab59e3c91.tar.zst nixlib-37b4051b05f18aa3eb91a03b26bddb3ab59e3c91.zip |
pythonPackages.heapdict: Move to own file
Diffstat (limited to 'pkgs/development/python-modules/heapdict')
-rw-r--r-- | pkgs/development/python-modules/heapdict/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/heapdict/default.nix b/pkgs/development/python-modules/heapdict/default.nix new file mode 100644 index 000000000000..34c01091ddf2 --- /dev/null +++ b/pkgs/development/python-modules/heapdict/default.nix @@ -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 ]; + }; +} |