python.pkgs.flask-cors: 2.1.2 -> 3.0.2

This commit is contained in:
Jörg Thalheim
2017-08-27 13:34:32 +01:00
committed by Frederik Rietdijk
parent 8bc620ddc2
commit 99ed36e590
2 changed files with 23 additions and 18 deletions

View 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 ];
};
}