Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 25 lines 600 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, itsdangerous 3, pytest, requests, glibcLocales }: 4 5buildPythonPackage rec { 6 name = "${pname}-${version}"; 7 pname = "Werkzeug"; 8 version = "0.12.2"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "09mv4cya3lywkn4mi3qrqmjgwiw99kdk03dk912j8da6ny3pnflh"; 13 }; 14 15 LC_ALL = "en_US.UTF-8"; 16 17 propagatedBuildInputs = [ itsdangerous ]; 18 buildInputs = [ pytest requests glibcLocales ]; 19 20 meta = with stdenv.lib; { 21 homepage = http://werkzeug.pocoo.org/; 22 description = "A WSGI utility library for Python"; 23 license = licenses.bsd3; 24 }; 25}