Loading pkgs/development/python-modules/respx/default.nix +11 −14 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , flask , httpcore , httpx , flask , pytest-asyncio , pytestCheckHook , pythonOlder , starlette , trio }: buildPythonPackage rec { pname = "respx"; version = "0.20.1"; version = "0.20.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "lundberg"; repo = pname; rev = version; hash = "sha256-Qs3+NWMKiAFlKTTosdyHOxWRPKFlYQD20+MKiKR371U="; hash = "sha256-OiBKNK8V9WNQDe29Q5+E/jjBWD0qFcYUzhYUWA+7oFc="; }; patches = [ (fetchpatch { name = "httpx-0.24-test-compatibility.patch"; url = "https://github.com/lundberg/respx/commit/b014780bde8e82a65fc6bb02d62b89747189565c.patch"; hash = "sha256-wz9YYUtdptZw67ddnzUCet2iTozKaW0jrTIS62I/HXo="; }) ]; propagatedBuildInputs = [ httpx ]; Loading @@ -52,12 +47,14 @@ buildPythonPackage rec { "test_pass_through" ]; pythonImportsCheck = [ "respx" ]; pythonImportsCheck = [ "respx" ]; meta = with lib; { description = "Python library for mocking HTTPX"; homepage = "https://lundberg.github.io/respx/"; changelog = "https://github.com/lundberg/respx/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/lundberg/respx/blob/${version}/CHANGELOG.md"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; }; Loading Loading
pkgs/development/python-modules/respx/default.nix +11 −14 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , flask , httpcore , httpx , flask , pytest-asyncio , pytestCheckHook , pythonOlder , starlette , trio }: buildPythonPackage rec { pname = "respx"; version = "0.20.1"; version = "0.20.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "lundberg"; repo = pname; rev = version; hash = "sha256-Qs3+NWMKiAFlKTTosdyHOxWRPKFlYQD20+MKiKR371U="; hash = "sha256-OiBKNK8V9WNQDe29Q5+E/jjBWD0qFcYUzhYUWA+7oFc="; }; patches = [ (fetchpatch { name = "httpx-0.24-test-compatibility.patch"; url = "https://github.com/lundberg/respx/commit/b014780bde8e82a65fc6bb02d62b89747189565c.patch"; hash = "sha256-wz9YYUtdptZw67ddnzUCet2iTozKaW0jrTIS62I/HXo="; }) ]; propagatedBuildInputs = [ httpx ]; Loading @@ -52,12 +47,14 @@ buildPythonPackage rec { "test_pass_through" ]; pythonImportsCheck = [ "respx" ]; pythonImportsCheck = [ "respx" ]; meta = with lib; { description = "Python library for mocking HTTPX"; homepage = "https://lundberg.github.io/respx/"; changelog = "https://github.com/lundberg/respx/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/lundberg/respx/blob/${version}/CHANGELOG.md"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; }; Loading