From 5e676701d9ef0ce9d4277a8ef2d2eb79ddad9be6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 Oct 2023 10:25:47 +0200 Subject: [PATCH 1/2] python311Packages.pvo: 1.0.0 -> 2.0.0 Diff: https://github.com/frenck/python-pvoutput/compare/refs/tags/v1.0.0...v2.0.0 Changelog: https://github.com/frenck/python-pvoutput/releases/tag/v2.0.0 --- pkgs/development/python-modules/pvo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pvo/default.nix b/pkgs/development/python-modules/pvo/default.nix index 6f3f698fe2c7..d479a7b07091 100644 --- a/pkgs/development/python-modules/pvo/default.nix +++ b/pkgs/development/python-modules/pvo/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "pvo"; - version = "1.0.0"; + version = "2.0.0"; format = "pyproject"; disabled = pythonOlder "3.10"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "frenck"; repo = "python-pvoutput"; rev = "refs/tags/v${version}"; - hash = "sha256-6oVACUnK8WVlEx047CUXmSXQ0+M3xnSvyMHw5Wttk7M="; + hash = "sha256-SvsrvGwIAlj/8hdk90+rxigVrx6n3YInvF/4eux2H04="; }; nativeBuildInputs = [ From 6e80d81f28d66e40ff0ad33d5f4b1e256bde0380 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 21 Oct 2023 10:26:39 +0200 Subject: [PATCH 2/2] python311Packages.pvo: update disabled --- pkgs/development/python-modules/pvo/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pvo/default.nix b/pkgs/development/python-modules/pvo/default.nix index d479a7b07091..6963d3700013 100644 --- a/pkgs/development/python-modules/pvo/default.nix +++ b/pkgs/development/python-modules/pvo/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { version = "2.0.0"; format = "pyproject"; - disabled = pythonOlder "3.10"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "frenck"; @@ -25,6 +25,13 @@ buildPythonPackage rec { hash = "sha256-SvsrvGwIAlj/8hdk90+rxigVrx6n3YInvF/4eux2H04="; }; + postPatch = '' + # Upstream doesn't set a version for the pyproject.toml + substituteInPlace pyproject.toml \ + --replace "0.0.0" "${version}" \ + --replace "--cov" "" + ''; + nativeBuildInputs = [ poetry-core ]; @@ -41,13 +48,6 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - # Upstream doesn't set a version for the pyproject.toml - substituteInPlace pyproject.toml \ - --replace "0.0.0" "${version}" \ - --replace "--cov" "" - ''; - pythonImportsCheck = [ "pvo" ];