nixpkgs/pkgs/development/python-modules/flask-login.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

31 lines
775 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub, pythonAtLeast
, flask, nose, mock, blinker}:
buildPythonPackage rec {
pname = "Flask-Login";
name = "${pname}-${version}";
version = "0.4.0";
src = fetchFromGitHub {
owner = "maxcountryman";
repo = "flask-login";
rev = version;
sha256 = "0sjbmk8m4mmd9g99n6c6lx9nv2jwwqp6qsqhl945w2m0f1sknwdh";
};
buildInputs = [ nose mock ];
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 ];
};
}