python3Packages.httpbin: 0.7.0 -> 0.10.1

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