pythonPackages.flask-bcrypt: init at 0.7.1

This commit is contained in:
Chris Ostrouchov 2019-07-22 09:39:34 -04:00 committed by Ariel
parent d6fdec8d24
commit d758b24e80
2 changed files with 37 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };