mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
pythonPackages.flask-bcrypt: init at 0.7.1
This commit is contained in:
parent
d6fdec8d24
commit
d758b24e80
35
pkgs/development/python-modules/flask-bcrypt/default.nix
Normal file
35
pkgs/development/python-modules/flask-bcrypt/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, bcrypt
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-bcrypt";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxcountryman";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0036gag3nj7fzib23lbbpwhlrn1s0kkrfwk5pd90y4cjcfqh8z9x";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
bcrypt
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test_bcrypt.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Brcrypt hashing for Flask";
|
||||
homepage = https://github.com/maxcountryman/flask-bcrypt;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -3215,6 +3215,8 @@ in {
|
||||
|
||||
flask-babelex = callPackage ../development/python-modules/flask-babelex { };
|
||||
|
||||
flask-bcrypt = callPackage ../development/python-modules/flask-bcrypt { };
|
||||
|
||||
flask-bootstrap = callPackage ../development/python-modules/flask-bootstrap { };
|
||||
|
||||
flask-caching = callPackage ../development/python-modules/flask-caching { };
|
||||
|
Loading…
Reference in New Issue
Block a user