nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 913 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "immutabledict"; 11 version = "4.2.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "corenting"; 16 repo = "immutabledict"; 17 tag = "v${version}"; 18 hash = "sha256-ymzOSPVe0Z82FAgVIagY9lyNiMiubXjSBnXIEwzwC20="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 pythonImportsCheck = [ "immutabledict" ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 disabledTests = [ 28 # fails if builder load is highly variable 29 "test_performance" 30 ]; 31 32 meta = { 33 description = "Fork of frozendict, an immutable wrapper around dictionaries"; 34 homepage = "https://github.com/corenting/immutabledict"; 35 changelog = "https://github.com/corenting/immutabledict/blob/v${version}/CHANGELOG.md"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ hexa ]; 38 }; 39}