From 714a275df27ed48abe0e50ed60ba578e73829f59 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 9 Mar 2025 04:19:44 +0100 Subject: [PATCH] python313Packages.configshell: fix build --- .../python-modules/configshell/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/configshell/default.nix b/pkgs/development/python-modules/configshell/default.nix index ff65269cb932..df0a5aa19170 100644 --- a/pkgs/development/python-modules/configshell/default.nix +++ b/pkgs/development/python-modules/configshell/default.nix @@ -2,15 +2,18 @@ lib, fetchFromGitHub, buildPythonPackage, + pythonOlder, + hatchling, + hatch-vcs, pyparsing, - six, - urwid, }: buildPythonPackage rec { pname = "configshell"; version = "2.0.0"; - format = "setuptools"; + pyproject = true; + + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "open-iscsi"; @@ -19,10 +22,13 @@ buildPythonPackage rec { hash = "sha256-lP3WT9ASEj6WiCrurSU/e9FhIaeoQW/n9hi1XZMnV4Q="; }; - propagatedBuildInputs = [ + build-system = [ + hatchling + hatch-vcs + ]; + + dependencies = [ pyparsing - six - urwid ]; # Module has no tests