Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 18.09-beta 26 lines 686 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, flask, flask_wtf, flask_testing, ldap 3, mock, nose }: 4 5buildPythonPackage rec { 6 pname = "flask-ldap-login"; 7 version = "0.3.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "085rik7q8xrp5g95346p6jcp9m2yr8kamwb2kbiw4q0b0fpnnlgq"; 12 }; 13 14 checkInputs = [ nose mock flask_testing ]; 15 propagatedBuildInputs = [ flask flask_wtf ldap ]; 16 17 checkPhase = "nosetests -d"; 18 19 meta = with stdenv.lib; { 20 homepage = https://github.com/ContinuumIO/flask-ldap-login; 21 description = "User session management for Flask"; 22 license = licenses.mit; 23 platforms = platforms.all; 24 maintainers = with maintainers; [ mic92 ]; 25 }; 26}