python311Packages.pytest-subtests: fix build

Checking runtime dependencies for pytest_subtests-0.11.0-py3-none-any.whl
  - attrs not installed
This commit is contained in:
Martin Weinelt
2023-12-20 20:45:52 +01:00
parent 0ee92f9c37
commit 96a328c424
@@ -1,10 +1,17 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
# build-system
, setuptools
, setuptools-scm
# dependencies
, attrs
# tests
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -24,6 +31,10 @@ buildPythonPackage rec {
setuptools-scm
];
propagatedBuildInputs = [
attrs
];
nativeCheckInputs = [
pytestCheckHook
];