Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / flask-cors / default.nix
blobabc90cdbb0e392c8a26c49e6a04f37ac72bb65e8
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , flask
5 , packaging
6 , pytestCheckHook
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "flask-cors";
12   version = "4.0.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "corydolphin";
17     repo = "flask-cors";
18     rev = "refs/tags/${version}";
19     hash = "sha256-o//ulROKKBv/CBJIGPBFP/+T0TpMHUVjr23Y5g1V05g=";
20   };
22   nativeBuildInputs = [
23     setuptools
24   ];
26   propagatedBuildInputs = [
27     flask
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     packaging
33   ];
35   meta = with lib; {
36     description = "A Flask extension adding a decorator for CORS support";
37     homepage = "https://github.com/corydolphin/flask-cors";
38     changelog = "https://github.com/corydolphin/flask-cors/releases/tag/v${version}";
39     license = with licenses; [ mit ];
40     maintainers = with maintainers; [ nickcao ];
41   };