diff options
Diffstat (limited to 'pkgs/development/python-modules/immutables/default.nix')
-rw-r--r-- | pkgs/development/python-modules/immutables/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/immutables/default.nix b/pkgs/development/python-modules/immutables/default.nix index 83d6336fe5978..34a48ed2a1f60 100644 --- a/pkgs/development/python-modules/immutables/default.nix +++ b/pkgs/development/python-modules/immutables/default.nix @@ -9,17 +9,19 @@ buildPythonPackage rec { pname = "immutables"; - version = "0.17"; + version = "0.18"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "MagicStack"; repo = pname; rev = "v${version}"; - sha256 = "sha256-4VuB8eTWHD4hEDj11u/talfv38h2BhogSZmEVyUtnko="; + hash = "sha256-lXCoPTcpTOv9K0xCVjbrP3qlzP9tfk/e3Rk3oOmbS/Y="; }; - propagatedBuildInputs = [ + propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ typing-extensions ]; @@ -33,10 +35,12 @@ buildPythonPackage rec { "testMypyImmu" ]; - pythonImportsCheck = [ "immutables" ]; + pythonImportsCheck = [ + "immutables" + ]; meta = with lib; { - description = "An immutable mapping type for Python"; + description = "An immutable mapping type"; homepage = "https://github.com/MagicStack/immutables"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ catern ]; |