2021-02-17 13:07:36 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, httpx, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-httpx";
|
2021-03-01 09:00:57 +00:00
|
|
|
version = "0.11.0";
|
2021-02-17 13:07:36 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "pytest_httpx";
|
|
|
|
extension = "tar.gz";
|
2021-03-01 09:00:57 +00:00
|
|
|
sha256 = "sha256-koyrYudZfWRYeK4nP9SLGvEd0xlf017FyZ2FN8CV0Ys=";
|
2021-02-17 13:07:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|