blob: 77d0b34bf04408726b5be337cd5312f417e4a5b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "heapdict";
version = "1.0.1";
pyproject = true;
src = fetchPypi {
pname = "HeapDict";
inherit version;
hash = "sha256-hJX1ez4D2ORtXxssxiyogayjkv1cwEjcCqLhptI+zbY=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "heapdict" ];
meta = {
description = "Heap with decrease-key and increase-key operations";
homepage = "https://github.com/DanielStutzbach/heapdict";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ teh ];
};
}
|