2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
2018-04-03 12:28:05 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "HeapDict";
|
2019-10-16 10:43:07 +01:00
|
|
|
version = "1.0.1";
|
2018-04-03 12:28:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:07 +01:00
|
|
|
sha256 = "8495f57b3e03d8e46d5f1b2cc62ca881aca392fd5cc048dc0aa2e1a6d23ecdb6";
|
2018-04-03 12:28:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = !isPy3k;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-03 12:28:05 +01:00
|
|
|
description = "a heap with decrease-key and increase-key operations.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://stutzbachenterprises.com";
|
2018-04-03 12:28:05 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ teh ];
|
|
|
|
};
|
|
|
|
}
|