Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 27 lines 720 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast 2, flask, blinker, nose, mock, semantic-version }: 3 4buildPythonPackage rec { 5 pname = "Flask-Login"; 6 version = "0.4.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1v2j8zd558xfmgn3rfbw0xz4vizjcnk8kqw52q4f4d9ygfnc25f8"; 11 }; 12 13 checkInputs = [ nose mock semantic-version ]; 14 propagatedBuildInputs = [ flask blinker ]; 15 16 checkPhase = "nosetests -d"; 17 18 doCheck = pythonAtLeast "3.3"; 19 20 meta = with stdenv.lib; { 21 homepage = https://github.com/maxcountryman/flask-login; 22 description = "User session management for Flask"; 23 license = licenses.mit; 24 platforms = platforms.all; 25 maintainers = with maintainers; [ abbradar ]; 26 }; 27}