Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 21 lines 530 B view raw
1{ stdenv, fetchPypi, buildPythonPackage 2, nose, flask, six }: 3 4buildPythonPackage rec { 5 pname = "Flask-Cors"; 6 version = "3.0.8"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "05id72xwvhni23yasdvpdd8vsf3v4j6gzbqqff2g04j6xcih85vj"; 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}