python.pkgs.flask_principal: move to a separate file
This commit is contained in:
parent
48db371328
commit
91840c30bd
22
pkgs/development/python-modules/flask-principal/default.nix
Normal file
22
pkgs/development/python-modules/flask-principal/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user