From b2d73d51d7bbbda026bc00739747672fd976a992 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 25 May 2023 07:36:05 +0000 Subject: [PATCH 1/2] python310Packages.typecode: 30.0.0 -> 30.0.1 --- pkgs/development/python-modules/typecode/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/typecode/default.nix b/pkgs/development/python-modules/typecode/default.nix index c9f9ba7220a9..4b31e05a495f 100644 --- a/pkgs/development/python-modules/typecode/default.nix +++ b/pkgs/development/python-modules/typecode/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "typecode"; - version = "30.0.0"; + version = "30.0.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-pRGLU/xzQQqDZMIsrq1Fy7VgGIpFjnHtpmO+yL7t4g8="; + hash = "sha256-Glc5QiTVr//euymeNTxGN+FVaOEa6cUxHGyGo9bQrJc="; }; postPatch = '' From 5238e829004687c988ab6638c2c1a28b494d397d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 25 May 2023 13:08:51 +0200 Subject: [PATCH 2/2] python310Packages.typecode: remove postPatch section --- pkgs/development/python-modules/typecode/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/typecode/default.nix b/pkgs/development/python-modules/typecode/default.nix index 4b31e05a495f..9bcb05076c4e 100644 --- a/pkgs/development/python-modules/typecode/default.nix +++ b/pkgs/development/python-modules/typecode/default.nix @@ -25,12 +25,6 @@ buildPythonPackage rec { hash = "sha256-Glc5QiTVr//euymeNTxGN+FVaOEa6cUxHGyGo9bQrJc="; }; - postPatch = '' - # PEP440 support was removed in newer setuptools, https://github.com/nexB/typecode/pull/31 - substituteInPlace setup.cfg \ - --replace ">=3.6.*" ">=3.6" - ''; - dontConfigure = true; nativeBuildInputs = [ @@ -67,6 +61,6 @@ buildPythonPackage rec { homepage = "https://github.com/nexB/typecode"; changelog = "https://github.com/nexB/typecode/releases/tag/v${version}"; license = licenses.asl20; - maintainers = [ ]; + maintainers = with maintainers; [ ]; }; }