python.pkgs.flask_principal: move to a separate file

This commit is contained in:
Nikolay Amiantov 2018-02-25 20:26:24 +03:00
parent 48db371328
commit 91840c30bd
2 changed files with 23 additions and 19 deletions

View File

@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchurl, flask, blinker, nose }:
buildPythonPackage rec {
name = "Flask-Principal-${version}";
version = "0.4.0";
src = fetchurl {
url = "mirror://pypi/F/Flask-Principal/${name}.tar.gz";
sha256 = "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm";
};
propagatedBuildInputs = [ flask blinker ];
checkInputs = [ nose ];
meta = with lib; {
homepage = http://packages.python.org/Flask-Principal/;
description = "Identity management for flask";
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -7677,25 +7677,7 @@ in {
flask_oauthlib = callPackage ../development/python-modules/flask-oauthlib { };
flask_principal = buildPythonPackage rec {
name = "Flask-Principal-${version}";
version = "0.4.0";
src = pkgs.fetchurl {
url = "mirror://pypi/F/Flask-Principal/${name}.tar.gz";
sha256 = "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm";
};
propagatedBuildInputs = with self; [ flask blinker nose ];
meta = {
homepage = "http://packages.python.org/Flask-Principal/";
description = "Identity management for flask";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ abbradar ];
};
};
flask_principal = callPackage ../development/python-modules/flask-principal { };
flask-pymongo = callPackage ../development/python-modules/Flask-PyMongo { };