python3Packages.slowapi: 0.1.4 -> 0.1.5

+2 -12
+2 -12
pkgs/development/python-modules/slowapi/default.nix
··· 2 , buildPythonPackage 3 , fastapi 4 , fetchFromGitHub 5 - , fetchpatch 6 , limits 7 , mock 8 , hiro ··· 15 16 buildPythonPackage rec { 17 pname = "slowapi"; 18 - version = "0.1.4"; 19 format = "pyproject"; 20 disabled = pythonOlder "3.6"; 21 ··· 23 owner = "laurentS"; 24 repo = pname; 25 rev = "v${version}"; 26 - sha256 = "0bnnzgv2wy145sdab54hljwv1b5029ndrr0y9rc2q0mraz8lf8lm"; 27 }; 28 29 nativeBuildInputs = [ ··· 47 # E AssertionError: Regex pattern 'parameter `request` must be an instance of starlette.requests.Request' does not match 'This portal is not running'. 48 "test_endpoint_request_param_invalid" 49 "test_endpoint_response_param_invalid" 50 - ]; 51 - 52 - patches = [ 53 - # Switch to poetry-core, https://github.com/laurentS/slowapi/pull/54 54 - (fetchpatch { 55 - name = "switch-to-poetry-core.patch"; 56 - url = "https://github.com/laurentS/slowapi/commit/fe165f2d479f4f8e4b7dd9cd88ec0ae847b490c5.patch"; 57 - sha256 = "16vjxdjjiyg8zjrgfyg9q2ym2lmnms2zy5d2cg3ccg51cfl715fi"; 58 - }) 59 ]; 60 61 pythonImportsCheck = [ "slowapi" ];
··· 2 , buildPythonPackage 3 , fastapi 4 , fetchFromGitHub 5 , limits 6 , mock 7 , hiro ··· 14 15 buildPythonPackage rec { 16 pname = "slowapi"; 17 + version = "0.1.5"; 18 format = "pyproject"; 19 disabled = pythonOlder "3.6"; 20 ··· 22 owner = "laurentS"; 23 repo = pname; 24 rev = "v${version}"; 25 + sha256 = "1wjnlhjfgil86h6i5yij723ncg18rqdprs1q6i68w4msaspwpxg9"; 26 }; 27 28 nativeBuildInputs = [ ··· 46 # E AssertionError: Regex pattern 'parameter `request` must be an instance of starlette.requests.Request' does not match 'This portal is not running'. 47 "test_endpoint_request_param_invalid" 48 "test_endpoint_response_param_invalid" 49 ]; 50 51 pythonImportsCheck = [ "slowapi" ];