Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / immutabledict / default.nix
blob5c1530263d2246ced9195c18655120b1c01e4021
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "immutabledict";
11   version = "4.2.0";
12   format = "pyproject";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "corenting";
18     repo = "immutabledict";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-NpNS8HAacgXm3rFtyd5uFgSURNbDf+YVS1aFx51kwEA=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   pythonImportsCheck = [
28     "immutabledict"
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33   ];
35   meta = with lib; {
36     description = "A fork of frozendict, an immutable wrapper around dictionaries";
37     homepage = "https://github.com/corenting/immutabledict";
38     changelog = "https://github.com/corenting/immutabledict/blob/v${version}/CHANGELOG.md";
39     license = licenses.mit;
40     maintainers = with maintainers; [ hexa ];
41   };