1{ lib 2, brotlicffi 3, buildPythonPackage 4, decorator 5, fetchPypi 6, flask 7, flask-limiter 8, flasgger 9, itsdangerous 10, markupsafe 11, raven 12, six 13, pytestCheckHook 14, setuptools 15, werkzeug 16}: 17 18buildPythonPackage rec { 19 pname = "httpbin"; 20 version = "0.10.1"; 21 format = "pyproject"; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-e4WWvrDnWntlPDnR888mPW1cR20p4d9ve7K3C/nwaj0="; 26 }; 27 28 nativeBuildInputs = [ 29 setuptools 30 ]; 31 32 propagatedBuildInputs = [ 33 brotlicffi 34 decorator 35 flask 36 flask-limiter 37 flasgger 38 itsdangerous 39 markupsafe 40 raven 41 six 42 werkzeug 43 ] ++ raven.optional-dependencies.flask; 44 45 nativeCheckInputs = [ 46 pytestCheckHook 47 ]; 48 49 disabledTests = [ 50 # Tests seems to be outdated 51 "test_anything" 52 "test_get" 53 "test_redirect_n_equals_to_1" 54 "test_redirect_n_higher_than_1" 55 "test_redirect_to_post" 56 "test_relative_redirect_n_equals_to_1" 57 "test_relative_redirect_n_higher_than_1" 58 ]; 59 60 pythonImportsCheck = [ 61 "httpbin" 62 ]; 63 64 meta = with lib; { 65 description = "HTTP Request and Response Service"; 66 homepage = "https://github.com/psf/httpbin"; 67 license = licenses.mit; 68 maintainers = with maintainers; [ ]; 69 }; 70}