2018-12-06 07:40:42 +03:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast
|
2018-02-25 20:13:28 +03:00
|
|
|
, flask, blinker, nose, mock, semantic-version }:
|
2017-01-14 01:47:34 +03:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 12:25:35 +03:00
|
|
|
pname = "Flask-Login";
|
2018-02-25 20:13:28 +03:00
|
|
|
version = "0.4.1";
|
2017-01-14 01:47:34 +03:00
|
|
|
|
2018-12-06 07:40:42 +03:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1v2j8zd558xfmgn3rfbw0xz4vizjcnk8kqw52q4f4d9ygfnc25f8";
|
2017-01-14 01:47:34 +03:00
|
|
|
};
|
|
|
|
|
2018-02-25 20:13:28 +03:00
|
|
|
checkInputs = [ nose mock semantic-version ];
|
2017-01-14 01:47:34 +03:00
|
|
|
propagatedBuildInputs = [ flask blinker ];
|
|
|
|
|
|
|
|
checkPhase = "nosetests -d";
|
|
|
|
|
|
|
|
doCheck = pythonAtLeast "3.3";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = https://github.com/maxcountryman/flask-login;
|
2017-01-14 01:47:34 +03:00
|
|
|
description = "User session management for Flask";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|