summary refs log tree commit diff
path: root/pkgs/development/python-modules/brother
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-05-14 10:06:08 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-05-14 10:06:08 +0200
commit62b327f13920ed20d62ecccaf7f301e894a3ead7 (patch)
tree3f1f88269ea10635e05d5810cdb0571d0aca6457 /pkgs/development/python-modules/brother
parent77523d2c66ebc2628032fda4bb0318e211c4214a (diff)
downloadnixpkgs-62b327f13920ed20d62ecccaf7f301e894a3ead7.tar
nixpkgs-62b327f13920ed20d62ecccaf7f301e894a3ead7.tar.gz
nixpkgs-62b327f13920ed20d62ecccaf7f301e894a3ead7.tar.bz2
nixpkgs-62b327f13920ed20d62ecccaf7f301e894a3ead7.tar.lz
nixpkgs-62b327f13920ed20d62ecccaf7f301e894a3ead7.tar.xz
nixpkgs-62b327f13920ed20d62ecccaf7f301e894a3ead7.tar.zst
nixpkgs-62b327f13920ed20d62ecccaf7f301e894a3ead7.zip
python3Packages.brother: 1.0.0 -> 1.0.1
Diffstat (limited to 'pkgs/development/python-modules/brother')
-rw-r--r--pkgs/development/python-modules/brother/default.nix17
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/brother/default.nix b/pkgs/development/python-modules/brother/default.nix
index 9f41ed5756f..9813becd145 100644
--- a/pkgs/development/python-modules/brother/default.nix
+++ b/pkgs/development/python-modules/brother/default.nix
@@ -5,29 +5,29 @@
 , pytest-asyncio
 , pytest-error-for-skips
 , pytest-runner
-, pytest-tornasync
-, pytest-trio
 , pytestCheckHook
 , pythonOlder
 }:
 
 buildPythonPackage rec {
   pname = "brother";
-  version = "1.0.0";
+  version = "1.0.1";
   disabled = pythonOlder "3.8";
 
   src = fetchFromGitHub {
     owner = "bieniu";
     repo = pname;
     rev = version;
-    sha256 = "sha256-0NfqPlQiOkNhR+H55E9LE4dGa9R8vcSyPNbbIeiRJV8=";
+    sha256 = "sha256-Cfut6Y4Hln32g4V13xbOo5JdjPv2cH6FCDqvRRyijIA=";
   };
 
+  nativeBuildInputs = [
+    pytest-runner
+  ];
+
   postPatch = ''
-    substituteInPlace pytest.ini \
+    substituteInPlace setup.cfg \
       --replace "--cov --cov-report term-missing " ""
-    substituteInPlace requirements-test.txt \
-      --replace "pytest-cov" ""
   '';
 
   propagatedBuildInputs = [
@@ -37,9 +37,6 @@ buildPythonPackage rec {
   checkInputs = [
     pytest-asyncio
     pytest-error-for-skips
-    pytest-runner
-    pytest-tornasync
-    pytest-trio
     pytestCheckHook
   ];