python.pkgs.flask-cors: 2.1.2 -> 3.0.2
This commit is contained in:
parent
8bc620ddc2
commit
99ed36e590
22
pkgs/development/python-modules/flask-cors/default.nix
Normal file
22
pkgs/development/python-modules/flask-cors/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage
|
||||
, nose, flask, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "Flask-Cors";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1mnsyyqn8akin2vz98b9fbv63hcvwmfkaapsglw5jizdkmaz628a";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ flask six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Flask extension adding a decorator for CORS support";
|
||||
homepage = https://github.com/corydolphin/flask-cors;
|
||||
license = with licenses; [ mit ];
|
||||
};
|
||||
}
|
@ -9637,24 +9637,7 @@ in {
|
||||
|
||||
flask-compress = callPackage ../development/python-modules/flask-compress { };
|
||||
|
||||
flask-cors = buildPythonPackage rec {
|
||||
name = "Flask-Cors-${version}";
|
||||
version = "2.1.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/F/Flask-Cors/${name}.tar.gz";
|
||||
sha256 = "0fd618a4f88ykqx4x55viz47cm9rl214q1b45a0b4mz5vhxffqpj";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
propagatedBuildInputs = with self; [ flask six ];
|
||||
|
||||
meta = {
|
||||
description = "A Flask extension adding a decorator for CORS support";
|
||||
homepage = https://github.com/corydolphin/flask-cors;
|
||||
license = with licenses; [ mit ];
|
||||
};
|
||||
};
|
||||
flask-cors = callPackage ../development/python-modules/flask-cors { };
|
||||
|
||||
flask_elastic = callPackage ../development/python-modules/flask-elastic.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user