From a9f116715b80329c21657e91fe8eb2464a9d1533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 7 Aug 2021 20:23:24 +0200 Subject: [PATCH] python39Packages.pytest-resource-path: move pytest to buildInputs, remove pytest-runner --- .../python-modules/pytest-resource-path/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-resource-path/default.nix b/pkgs/development/python-modules/pytest-resource-path/default.nix index a0517ee20aa..7476801794c 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 = [