summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-05-29 20:10:20 +0200
committerGitHub <noreply@github.com>2022-05-29 20:10:20 +0200
commit58fa3c321f4d0815fed5caf1abf63305d4091e6b (patch)
treed436957e80a78bc879861f4ef60584677eb66b06
parente37248668b483ea8076390df42b01b766a43a57f (diff)
parent1d732b7062373bcbad89a5ac64d3a58af764b4a4 (diff)
downloadnixpkgs-58fa3c321f4d0815fed5caf1abf63305d4091e6b.tar
nixpkgs-58fa3c321f4d0815fed5caf1abf63305d4091e6b.tar.gz
nixpkgs-58fa3c321f4d0815fed5caf1abf63305d4091e6b.tar.bz2
nixpkgs-58fa3c321f4d0815fed5caf1abf63305d4091e6b.tar.lz
nixpkgs-58fa3c321f4d0815fed5caf1abf63305d4091e6b.tar.xz
nixpkgs-58fa3c321f4d0815fed5caf1abf63305d4091e6b.tar.zst
nixpkgs-58fa3c321f4d0815fed5caf1abf63305d4091e6b.zip
Merge pull request #175307 from fabaff/brother-subst
python310Packages.brother: remove postPatch section
-rw-r--r--pkgs/development/python-modules/brother/default.nix9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/brother/default.nix b/pkgs/development/python-modules/brother/default.nix
index 8cfe7624676..551dffa6541 100644
--- a/pkgs/development/python-modules/brother/default.nix
+++ b/pkgs/development/python-modules/brother/default.nix
@@ -32,15 +32,6 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  postPatch = ''
-    substituteInPlace setup.cfg \
-      --replace "--cov --cov-report term-missing " ""
-    substituteInPlace setup.py \
-      --replace '"pytest-runner"' ""
-    substituteInPlace requirements.txt \
-      --replace "pysnmplib==" "pysnmplib>="
-  '';
-
   pythonImportsCheck = [
     "brother"
   ];