blob: 35ab10d5604420fcd3941d6c51daca1ce726eaeb (
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
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "immutabledict";
version = "4.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "corenting";
repo = "immutabledict";
tag = "v${version}";
hash = "sha256-ymzOSPVe0Z82FAgVIagY9lyNiMiubXjSBnXIEwzwC20=";
};
build-system = [ poetry-core ];
pythonImportsCheck = [ "immutabledict" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# fails if builder load is highly variable
"test_performance"
];
meta = {
description = "Fork of frozendict, an immutable wrapper around dictionaries";
homepage = "https://github.com/corenting/immutabledict";
changelog = "https://github.com/corenting/immutabledict/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
};
}
|