blob: e2585262e58e99918a373228984c236a668783c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonAtLeast
, flask, blinker, nose, mock, semantic-version }:
buildPythonPackage rec {
pname = "Flask-Login";
name = "${pname}-${version}";
version = "0.4.1";
src = fetchFromGitHub {
owner = "maxcountryman";
repo = "flask-login";
rev = version;
sha256 = "1rj0qwyxapxnp84fi4lhmvh3d91fdiwz7hibw77x3d5i72knqaa9";
};
checkInputs = [ nose mock semantic-version ];
propagatedBuildInputs = [ flask blinker ];
checkPhase = "nosetests -d";
doCheck = pythonAtLeast "3.3";
meta = with stdenv.lib; {
homepage = https://github.com/maxcountryman/flask-login;
description = "User session management for Flask";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ abbradar ];
};
}
|