diff options
Diffstat (limited to 'pkgs/development/python-modules/flask-cors/default.nix')
-rw-r--r-- | pkgs/development/python-modules/flask-cors/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/flask-cors/default.nix b/pkgs/development/python-modules/flask-cors/default.nix index 9af0d44166f69..b9d62fcbd8e04 100644 --- a/pkgs/development/python-modules/flask-cors/default.nix +++ b/pkgs/development/python-modules/flask-cors/default.nix @@ -6,18 +6,22 @@ packaging, pytestCheckHook, setuptools, + + # for passthru.tests + aiobotocore, + moto, }: buildPythonPackage rec { pname = "flask-cors"; - version = "4.0.0"; + version = "4.0.1"; pyproject = true; src = fetchFromGitHub { owner = "corydolphin"; repo = "flask-cors"; rev = "refs/tags/${version}"; - hash = "sha256-o//ulROKKBv/CBJIGPBFP/+T0TpMHUVjr23Y5g1V05g="; + hash = "sha256-ISot5KglCjfbJNsnveDLK44vVaapHRAFdS+1tOd08pw="; }; nativeBuildInputs = [ setuptools ]; @@ -29,6 +33,10 @@ buildPythonPackage rec { packaging ]; + passthru.tests = { + inherit aiobotocore moto; + }; + meta = with lib; { description = "Flask extension adding a decorator for CORS support"; homepage = "https://github.com/corydolphin/flask-cors"; |