Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook, pythonOlder, requests, toml, werkzeug}:
buildPythonPackage rec { pname = "pytest-httpserver"; version = "1.0.6"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "csernazs"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-LY5Ur0cIcsNrgvyQlY2E479ZzRcuwqTuiT2MtRupVcs="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ werkzeug ];
nativeCheckInputs = [ pytestCheckHook requests toml ];
__darwinAllowLocalNetworking = true;
disabledTests = [ "test_wait_raise_assertion_false" # racy ];
pythonImportsCheck = [ "pytest_httpserver" ];
meta = with lib; { description = "HTTP server for pytest to test HTTP clients"; homepage = "https://www.github.com/csernazs/pytest-httpserver"; changelog = "https://github.com/csernazs/pytest-httpserver/blob/${version}/CHANGES.rst"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}