summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-08-07 23:13:00 +0200
committerGitHub <noreply@github.com>2021-08-07 23:13:00 +0200
commit94cff14200aa0accdf2f488fd71af0cdd1552e8e (patch)
tree9a761b6b75eb4d85e848bb1f186ad7a9c10b1a25 /pkgs/development
parentd85ded6d1817c4436556669e397ce6e531799d1d (diff)
parentae43a849a9852904e8e4b421953179ca4d0260aa (diff)
Merge pull request #133049 from SuperSandro2000/cleanup
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/pytest-mockservers/default.nix5
-rw-r--r--pkgs/development/python-modules/pytest-resource-path/default.nix11
-rw-r--r--pkgs/development/python-modules/roonapi/default.nix1
3 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/pytest-mockservers/default.nix b/pkgs/development/python-modules/pytest-mockservers/default.nix
index 6de88632027f9..4022befcb14d8 100644
--- a/pkgs/development/python-modules/pytest-mockservers/default.nix
+++ b/pkgs/development/python-modules/pytest-mockservers/default.nix
@@ -31,9 +31,12 @@ buildPythonPackage rec {
     poetry-core
   ];
 
+  buildInputs = [
+    pytest
+  ];
+
   propagatedBuildInputs = [
     aiohttp
-    pytest
     pytest-asyncio
   ];
 
diff --git a/pkgs/development/python-modules/pytest-resource-path/default.nix b/pkgs/development/python-modules/pytest-resource-path/default.nix
index a0517ee20aa85..7476801794c30 100644
--- a/pkgs/development/python-modules/pytest-resource-path/default.nix
+++ b/pkgs/development/python-modules/pytest-resource-path/default.nix
@@ -3,7 +3,6 @@
 , pythonOlder
 , fetchFromGitHub
 , colorama
-, pytest-runner
 , pytest
 , pytestCheckHook
 }:
@@ -20,13 +19,17 @@ buildPythonPackage rec {
     sha256 = "1siv3pk4fsabz254fdzr7c0pxy124habnbw4ym66pfk883fr96g2";
   };
 
-  nativeBuildInputs = [
-    pytest-runner
+  postPatch = ''
+    substituteInPlace setup.cfg \
+      --replace "pytest-runner" ""
+  '';
+
+  buildInputs = [
+    pytest
   ];
 
   propagatedBuildInputs = [
     colorama
-    pytest
   ];
 
   checkInputs = [
diff --git a/pkgs/development/python-modules/roonapi/default.nix b/pkgs/development/python-modules/roonapi/default.nix
index aded311feab08..ccc5749387b15 100644
--- a/pkgs/development/python-modules/roonapi/default.nix
+++ b/pkgs/development/python-modules/roonapi/default.nix
@@ -1,7 +1,6 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
-, fetchpatch
 , ifaddr
 , poetry-core
 , pythonOlder