From 0d02317114092677683463029686bb6e9515d4a0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 7 Dec 2024 00:25:08 +0100 Subject: [PATCH 1/2] python312Packages.autoslot: 2022.12.1 -> 2024.12.1 Diff: https://github.com/cjrh/autoslot/compare/refs/tags/v2022.12.1...v2024.12.1 --- pkgs/development/python-modules/autoslot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/autoslot/default.nix b/pkgs/development/python-modules/autoslot/default.nix index 55059da486a0..0df019c1c46d 100644 --- a/pkgs/development/python-modules/autoslot/default.nix +++ b/pkgs/development/python-modules/autoslot/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "autoslot"; - version = "2022.12.1"; + version = "2024.12.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "cjrh"; repo = "autoslot"; rev = "refs/tags/v${version}"; - hash = "sha256-fG4rRwRubJt2aXChEsMybEKal6LscZI7GA2uwtK5Vtg="; + hash = "sha256-wYjsBrjvSZFHDt0HLrnS9Xwk8EHVQupfPSkQnUFmMAk="; }; postPatch = '' From 612abc0c6783081fa97050ca3835a80037d434ad Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 7 Dec 2024 00:27:05 +0100 Subject: [PATCH 2/2] python312Packages.autoslot: refactor --- pkgs/development/python-modules/autoslot/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/autoslot/default.nix b/pkgs/development/python-modules/autoslot/default.nix index 0df019c1c46d..84c504bed8ca 100644 --- a/pkgs/development/python-modules/autoslot/default.nix +++ b/pkgs/development/python-modules/autoslot/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "autoslot"; version = "2024.12.1"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -21,13 +21,7 @@ buildPythonPackage rec { hash = "sha256-wYjsBrjvSZFHDt0HLrnS9Xwk8EHVQupfPSkQnUFmMAk="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'requires = ["flit"]' 'requires = ["flit_core"]' \ - --replace 'build-backend = "flit.buildapi"' 'build-backend = "flit_core.buildapi"' - ''; - - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; nativeCheckInputs = [ pytestCheckHook ];