python3Packages.httpbin: 0.7.0 -> 0.10.1

+11 -18
+11 -18
pkgs/development/python-modules/httpbin/default.nix
··· 1 { lib 2 - , brotlipy 3 , buildPythonPackage 4 , decorator 5 - , fetchpatch 6 , fetchPypi 7 , flask 8 , flask-limiter 9 , itsdangerous 10 , markupsafe 11 , raven 12 , six 13 , pytestCheckHook 14 , werkzeug 15 }: 16 17 buildPythonPackage rec { 18 pname = "httpbin"; 19 - version = "0.7.0"; 20 - format = "setuptools"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-y7N3kMkVdfTxV1f0KtQdn3KesifV7b6J5OwXVIbbjfo="; 25 }; 26 27 - patches = [ 28 - (fetchpatch { 29 - # Replaces BaseResponse class with Response class for Werkezug 2.1.0 compatibility 30 - # https://github.com/postmanlabs/httpbin/pull/674 31 - url = "https://github.com/postmanlabs/httpbin/commit/5cc81ce87a3c447a127e4a1a707faf9f3b1c9b6b.patch"; 32 - hash = "sha256-SbEWjiqayMFYrbgAPZtSsXqSyCDUz3z127XgcKOcrkE="; 33 - }) 34 ]; 35 36 propagatedBuildInputs = [ 37 - brotlipy 38 decorator 39 flask 40 flask-limiter 41 itsdangerous 42 markupsafe 43 raven ··· 47 48 nativeCheckInputs = [ 49 pytestCheckHook 50 - ]; 51 - 52 - pytestFlagsArray = [ 53 - "test_httpbin.py" 54 ]; 55 56 disabledTests = [ ··· 70 71 meta = with lib; { 72 description = "HTTP Request and Response Service"; 73 - homepage = "https://github.com/kennethreitz/httpbin"; 74 license = licenses.mit; 75 maintainers = with maintainers; [ ]; 76 };
··· 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 18 buildPythonPackage 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 ··· 44 45 nativeCheckInputs = [ 46 pytestCheckHook 47 ]; 48 49 disabledTests = [ ··· 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 };