From 6a5479f4afb4305e33710d7ce44888b13d018905 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Jun 2023 08:55:49 +0200 Subject: [PATCH 1/2] python311Packages.pycep-parser: 0.4.0 -> 0.4.1 Diff: https://github.com/gruebel/pycep/compare/refs/tags/0.4.0...0.4.1 --- pkgs/development/python-modules/pycep-parser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycep-parser/default.nix b/pkgs/development/python-modules/pycep-parser/default.nix index 7b7b2a88946c..45e92e93ccdb 100644 --- a/pkgs/development/python-modules/pycep-parser/default.nix +++ b/pkgs/development/python-modules/pycep-parser/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pycep-parser"; - version = "0.4.0"; + version = "0.4.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "gruebel"; repo = "pycep"; rev = "refs/tags/${version}"; - hash = "sha256-ZKvFurD5DzByeqDJZdJHpkaUh00UoitCGYDh+TmF/Yc="; + hash = "sha256-OSdxdhGAZhl625VdIDHQ1aepQR5B0pCTLavfxer1tqc="; }; nativeBuildInputs = [ From 6e95560c5d3f1fff322e196c2f5d32aca859fbfc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Jun 2023 09:00:06 +0200 Subject: [PATCH 2/2] python311Packages.pycep-parser: add changelog to meta - remove postPatch section --- pkgs/development/python-modules/pycep-parser/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pycep-parser/default.nix b/pkgs/development/python-modules/pycep-parser/default.nix index 45e92e93ccdb..20e7fba1b045 100644 --- a/pkgs/development/python-modules/pycep-parser/default.nix +++ b/pkgs/development/python-modules/pycep-parser/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { version = "0.4.1"; format = "pyproject"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "gruebel"; @@ -39,11 +39,6 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'regex = "^2022.3.15"' 'regex = "*"' - ''; - pythonImportsCheck = [ "pycep" ]; @@ -51,6 +46,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python based Bicep parser"; homepage = "https://github.com/gruebel/pycep"; + changelog = "https://github.com/gruebel/pycep/blob/${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };