python310Packages.argh: Fix build

Migrate to the pep517 build, because native setuptools support was
dropped.
This commit is contained in:
Martin Weinelt 2023-03-09 18:51:34 +01:00
parent 3cef961264
commit b0cc0b44f4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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