about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-29 13:37:21 -0800
committerFrederik Rietdijk <fridh@fridh.nl>2020-12-01 14:44:24 +0100
commitb31bc72bc3cc379af20ff72c1de91cb326876c6c (patch)
tree552936aa788e3590d90fd192f95cf8a4fb008774
parent23db4049656d616bcaf5acee871292eaeec58825 (diff)
python3Packages.pytest-services: fix build
-rw-r--r--pkgs/development/python-modules/pytest-services/default.nix9
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";