From 269e8cfefb64119fe17c0c8fc14463a3449d6792 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jun 2022 17:04:34 +0200 Subject: [PATCH] python310Packages.immutables: 0.17 -> 0.18 --- .../python-modules/immutables/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/immutables/default.nix b/pkgs/development/python-modules/immutables/default.nix index 83d6336fe597..34a48ed2a1f6 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 ];