diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-17 14:07:36 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-17 14:12:14 +0100 |
commit | 05f43031d2cfe1dc2626d6295700942fefebf4cc (patch) | |
tree | b1ce5f1912e9bb3345acb7848121b97a5d580455 /pkgs/development/python-modules/pytest-httpx | |
parent | c2b3dda3178abbb447b826141ff001ed6c7880ee (diff) |
pythonPackages.pytest-httpx: init at 0.10.1
Diffstat (limited to 'pkgs/development/python-modules/pytest-httpx')
-rw-r--r-- | pkgs/development/python-modules/pytest-httpx/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-httpx/default.nix b/pkgs/development/python-modules/pytest-httpx/default.nix new file mode 100644 index 0000000000000..d3b6654931be9 --- /dev/null +++ b/pkgs/development/python-modules/pytest-httpx/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchPypi, httpx, pytest }: + +buildPythonPackage rec { + pname = "pytest-httpx"; + version = "0.10.1"; + + src = fetchPypi { + inherit version; + pname = "pytest_httpx"; + extension = "tar.gz"; + sha256 = "13ld6nnsc3f7i4zl4qm1jh358z0awr6xfk05azwgngmjb7jmcz0a"; + }; + + propagatedBuildInputs = [ httpx pytest ]; + + # not in pypi tarball + doCheck = false; + 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 ]; + }; +} |