about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-localserver/default.nix
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-12-08 08:54:44 +0100
committerJonathan Ringer <jonringer117@gmail.com>2021-12-14 12:04:46 -0800
commit6f3e84220403fe79046acfad2f5abcf4b0da03ed (patch)
treee77f2fe2dfc6821770e7841c972d22a841c28a0b /pkgs/development/python-modules/pytest-localserver/default.nix
parent13aa081f383412639684e105f14981034337f4b3 (diff)
python3Packages.pytest-localserver: 0.5.0 -> 0.5.1
Diffstat (limited to 'pkgs/development/python-modules/pytest-localserver/default.nix')
-rw-r--r--pkgs/development/python-modules/pytest-localserver/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/pytest-localserver/default.nix b/pkgs/development/python-modules/pytest-localserver/default.nix
index a3f57ff40e7a3..e5008af9ef2fa 100644
--- a/pkgs/development/python-modules/pytest-localserver/default.nix
+++ b/pkgs/development/python-modules/pytest-localserver/default.nix
@@ -1,5 +1,5 @@
-{ buildPythonPackage
-, lib
+{ lib
+, buildPythonPackage
 , fetchPypi
 , werkzeug
 }:
@@ -7,23 +7,28 @@
 buildPythonPackage rec {
   pname = "pytest-localserver";
   version = "0.5.1";
+  format = "setuptools";
 
   src = fetchPypi {
     inherit pname version;
     sha256 = "ef6f04193dc0f7e8df5b27b3a8834318fa12eaf025436d2a99afff1b73cde761";
   };
 
-  propagatedBuildInputs = [ werkzeug ];
+  propagatedBuildInputs = [
+    werkzeug
+  ];
 
   # all tests access network: does not work in sandbox
   doCheck = false;
-  pythonImportsCheck = [ "pytest_localserver" ];
+
+  pythonImportsCheck = [
+    "pytest_localserver"
+  ];
 
   meta = with lib; {
     description = "Plugin for the pytest testing framework to test server connections locally";
-    homepage = "https://pypi.python.org/pypi/pytest-localserver";
+    homepage = "https://github.com/pytest-dev/pytest-localserver";
     license = licenses.mit;
     maintainers = with maintainers; [ siriobalmelli ];
   };
 }
-