From b0cc0b44f423e6f7b3ea9335be7f737128c74f7c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 9 Mar 2023 18:51:34 +0100 Subject: [PATCH] python310Packages.argh: Fix build Migrate to the pep517 build, because native setuptools support was dropped. --- pkgs/development/python-modules/argh/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/argh/default.nix b/pkgs/development/python-modules/argh/default.nix index e7d49ef69694..556d26b29f08 100644 --- a/pkgs/development/python-modules/argh/default.nix +++ b/pkgs/development/python-modules/argh/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , fetchpatch +, flit-core , iocapture , mock , pytestCheckHook @@ -10,12 +11,17 @@ buildPythonPackage rec { pname = "argh"; version = "0.28.1"; + format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-sgkwhvDoCaPswktkohRTCe6PVtA0k2zVnlfFWKNXMp0="; }; + nativeBuildInputs = [ + flit-core + ]; + nativeCheckInputs = [ iocapture mock