12 buildPythonPackage rec {
13 pname = "pytest-httpbin";
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
21 repo = "pytest-httpbin";
23 hash = "sha256-S4ThQx4H3UlKhunJo35esPClZiEn7gX/Qwo4kE1QMTI=";
30 propagatedBuildInputs = [
36 # Remove assertion that doesn't hold for Flask 2.1.0
37 substituteInPlace tests/test_server.py \
38 --replace "assert response.headers['Location'].startswith('https://')" ""
46 pythonImportsCheck = [
51 description = "Test your HTTP library against a local copy of httpbin.org";
52 homepage = "https://github.com/kevin1024/pytest-httpbin";
53 license = licenses.mit;
54 maintainers = with maintainers; [ ];