diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-11-29 13:37:21 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-12-01 14:44:24 +0100 |
commit | b31bc72bc3cc379af20ff72c1de91cb326876c6c (patch) | |
tree | 552936aa788e3590d90fd192f95cf8a4fb008774 | |
parent | 23db4049656d616bcaf5acee871292eaeec58825 (diff) |
python3Packages.pytest-services: fix build
-rw-r--r-- | pkgs/development/python-modules/pytest-services/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-services/default.nix b/pkgs/development/python-modules/pytest-services/default.nix index e291843535d48..761fe1d5d54ed 100644 --- a/pkgs/development/python-modules/pytest-services/default.nix +++ b/pkgs/development/python-modules/pytest-services/default.nix @@ -5,7 +5,9 @@ , requests , psutil , pytest +, setuptools_scm , subprocess32 +, toml , zc_lockfile }: @@ -18,6 +20,11 @@ buildPythonPackage rec { sha256 = "2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536"; }; + nativeBuildInputs = [ + setuptools_scm + toml + ]; + propagatedBuildInputs = [ requests psutil @@ -28,6 +35,8 @@ buildPythonPackage rec { # no tests in PyPI tarball doCheck = false; + pythonImportsCheck = [ "pytest_services" ]; + meta = with lib; { description = "Services plugin for pytest testing framework"; homepage = "https://github.com/pytest-dev/pytest-services"; |