about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-httpx
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-01-03 23:47:31 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-01-11 09:44:16 +0100
commit3228ecd3d9ba9ee79c83d3ec9ac7e3bfd89a8ddd (patch)
treeacf872b3f68bd49b8a4fb23931d99cc0ebf1a637 /pkgs/development/python-modules/pytest-httpx
parentb819a42fb17687fd22975c4559dfbc645da57e5a (diff)
python3Packages.pytest-httpx: 0.15.0 -> 0.17.3
Diffstat (limited to 'pkgs/development/python-modules/pytest-httpx')
-rw-r--r--pkgs/development/python-modules/pytest-httpx/default.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/pytest-httpx/default.nix b/pkgs/development/python-modules/pytest-httpx/default.nix
index 819c0a14832f5..9536325ade513 100644
--- a/pkgs/development/python-modules/pytest-httpx/default.nix
+++ b/pkgs/development/python-modules/pytest-httpx/default.nix
@@ -5,20 +5,26 @@
 , pytest
 , pytest-asyncio
 , pytestCheckHook
+, pythonOlder
 }:
 
 buildPythonPackage rec {
   pname = "pytest-httpx";
-  version = "0.15.0";
+  version = "0.17.3";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.6";
 
   src = fetchFromGitHub {
     owner = "Colin-b";
     repo = "pytest_httpx";
     rev = "v${version}";
-    sha256 = "08dxvjkxlnam3r0yp17495d1vksyawzzkpykacjql1gi6hqlfrwg";
+    sha256 = "sha256-cJRzjNIN9Fc8vcjmndW+akjxDSp+wFahY2MEslgXIwM=";
   };
 
-  buildInputs = [ pytest ];
+  buildInputs = [
+    pytest
+  ];
 
   propagatedBuildInputs = [
     httpx
@@ -29,12 +35,14 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  pythonImportsCheck = [ "pytest_httpx" ];
+  pythonImportsCheck = [
+    "pytest_httpx"
+  ];
 
   meta = with lib; {
     description = "Send responses to httpx";
     homepage = "https://github.com/Colin-b/pytest_httpx";
     license = licenses.mit;
-    maintainers = with maintainers; [ SuperSandro2000 ];
+    maintainers = with maintainers; [ fab SuperSandro2000 ];
   };
 }