Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 18.09-beta 21 lines 542 B view raw
1{ stdenv, fetchPypi, buildPythonPackage 2, nose, flask, six }: 3 4buildPythonPackage rec { 5 pname = "Flask-Cors"; 6 version = "3.0.6"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "ecc016c5b32fa5da813ec8d272941cfddf5f6bba9060c405a70285415cbf24c9"; 11 }; 12 13 buildInputs = [ nose ]; 14 propagatedBuildInputs = [ flask six ]; 15 16 meta = with stdenv.lib; { 17 description = "A Flask extension adding a decorator for CORS support"; 18 homepage = https://github.com/corydolphin/flask-cors; 19 license = with licenses; [ mit ]; 20 }; 21}