From eec2de86cf4d141de08667251e8551bdd4907b3b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 11:12:55 +0100 Subject: [PATCH 1/2] python312Packages.overrides: 7.4.0 -> 7.6.0 Diff: https://github.com/mkorpela/overrides/compare/refs/tags/7.4.0...7.6.0 Changelog: https://github.com/mkorpela/overrides/releases/tag/7.6.0 --- pkgs/development/python-modules/overrides/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/overrides/default.nix b/pkgs/development/python-modules/overrides/default.nix index 8109a428140d..7c2f5e892267 100644 --- a/pkgs/development/python-modules/overrides/default.nix +++ b/pkgs/development/python-modules/overrides/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "overrides"; - version = "7.4.0"; + version = "7.6.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "mkorpela"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-7fbuBcb47BTVxAoKokZmGdIwHSyfyfSiCAZ4XZjWz60="; + hash = "sha256-UdahbhmRfuxKTxb6Afjny/hMgXX1UuDUrIcLjZ0Jtak="; }; nativeCheckInputs = [ From 82dda993c6c5db2cf4532c96d8e4be232e9a8bd3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 11:15:06 +0100 Subject: [PATCH 2/2] python312Packages.overrides: refactor --- pkgs/development/python-modules/overrides/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/overrides/default.nix b/pkgs/development/python-modules/overrides/default.nix index 7c2f5e892267..220f7dcbed14 100644 --- a/pkgs/development/python-modules/overrides/default.nix +++ b/pkgs/development/python-modules/overrides/default.nix @@ -4,22 +4,27 @@ , pythonAtLeast , pythonOlder , pytestCheckHook +, setuptools }: buildPythonPackage rec { pname = "overrides"; version = "7.6.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "mkorpela"; - repo = pname; + repo = "overrides"; rev = "refs/tags/${version}"; hash = "sha256-UdahbhmRfuxKTxb6Afjny/hMgXX1UuDUrIcLjZ0Jtak="; }; + nativeBuildInputs = [ + setuptools + ]; + nativeCheckInputs = [ pytestCheckHook ];