From bc5956819615d0efee7d4024cef6726d933641a0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Feb 2021 23:20:34 +0100 Subject: python3Packages.pytest-httpserver: init at 0.3.6 --- .../python-modules/pytest-httpserver/default.nix | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pkgs/development/python-modules/pytest-httpserver/default.nix (limited to 'pkgs/development/python-modules/pytest-httpserver') diff --git a/pkgs/development/python-modules/pytest-httpserver/default.nix b/pkgs/development/python-modules/pytest-httpserver/default.nix new file mode 100644 index 000000000000..143d90e2f46b --- /dev/null +++ b/pkgs/development/python-modules/pytest-httpserver/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, fetchPypi +, fetchpatch +, pytest-asyncio +, pytest-cov +, pytestCheckHook +, requests +, werkzeug +}: + +buildPythonPackage rec { + pname = "pytest-httpserver"; + version = "0.3.6"; + + src = fetchPypi { + pname = "pytest_httpserver"; + inherit version; + sha256 = "1wdhbzv6x2v4qsqwgsc5660c4lxplh9b61vfj1zqhbhs36y96vl9"; + }; + + patches = [ + (fetchpatch { + name = "remove-pytest-runner.patch"; + url = "https://github.com/csernazs/pytest-httpserver/commit/c9752018bc2f13d141dd52c92df75c19ea388836.patch"; + sha256 = "0b76ywzl2gwddbqqlb662mfv5j42l88l5hffm7jbxzvqbz94mx3k"; + }) + ]; + + propagatedBuildInputs = [ werkzeug ]; + + checkInputs = [ + pytest-cov + pytestCheckHook + requests + ]; + + pythonImportsCheck = [ "pytest_httpserver" ]; + + meta = with lib; { + description = "HTTP server for pytest to test HTTP clients"; + homepage = "https://www.github.com/csernazs/pytest-httpserver"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} -- cgit v1.2.3 From cd9e9ea67d04db32bb600f92cdd0495d46fc2999 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Feb 2021 08:27:17 +0100 Subject: python3Packages.pytest-httpserver: 0.3.6 -> 0.3.7 --- .../python-modules/pytest-httpserver/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'pkgs/development/python-modules/pytest-httpserver') diff --git a/pkgs/development/python-modules/pytest-httpserver/default.nix b/pkgs/development/python-modules/pytest-httpserver/default.nix index 143d90e2f46b..f790629a29cf 100644 --- a/pkgs/development/python-modules/pytest-httpserver/default.nix +++ b/pkgs/development/python-modules/pytest-httpserver/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchPypi -, fetchpatch , pytest-asyncio , pytest-cov , pytestCheckHook @@ -11,22 +10,14 @@ buildPythonPackage rec { pname = "pytest-httpserver"; - version = "0.3.6"; + version = "0.3.7"; src = fetchPypi { pname = "pytest_httpserver"; inherit version; - sha256 = "1wdhbzv6x2v4qsqwgsc5660c4lxplh9b61vfj1zqhbhs36y96vl9"; + sha256 = "sha256-YgTcrUlwh2jz0tJdMUgjm8RcqrtpJ/oUQm3SnxUc5Z4="; }; - patches = [ - (fetchpatch { - name = "remove-pytest-runner.patch"; - url = "https://github.com/csernazs/pytest-httpserver/commit/c9752018bc2f13d141dd52c92df75c19ea388836.patch"; - sha256 = "0b76ywzl2gwddbqqlb662mfv5j42l88l5hffm7jbxzvqbz94mx3k"; - }) - ]; - propagatedBuildInputs = [ werkzeug ]; checkInputs = [ -- cgit v1.2.3 From db6e03fe8aa6ee44b2fa805ebe492d45b81a9ac1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 8 Jul 2021 22:21:17 +0200 Subject: python3Packages.pytest-httpserver: 0.3.7 -> 1.0.0 --- pkgs/development/python-modules/pytest-httpserver/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/python-modules/pytest-httpserver') diff --git a/pkgs/development/python-modules/pytest-httpserver/default.nix b/pkgs/development/python-modules/pytest-httpserver/default.nix index f790629a29cf..aaca4174a2f2 100644 --- a/pkgs/development/python-modules/pytest-httpserver/default.nix +++ b/pkgs/development/python-modules/pytest-httpserver/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "pytest-httpserver"; - version = "0.3.7"; + version = "1.0.0"; src = fetchPypi { pname = "pytest_httpserver"; inherit version; - sha256 = "sha256-YgTcrUlwh2jz0tJdMUgjm8RcqrtpJ/oUQm3SnxUc5Z4="; + sha256 = "sha256-rjCV0TTUBgLpVyEUDiIhOdpKV5lWEjmQr4WCUyTQdG0="; }; propagatedBuildInputs = [ werkzeug ]; -- cgit v1.2.3