python3Packages.flask-bcrypt: 0.7.1 -> 1.0.1

This commit is contained in:
Martin Weinelt 2022-04-20 02:28:04 +02:00
parent b3b47962f0
commit 98e82ea091
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "flask-bcrypt";
version = "0.7.1";
version = "1.0.1";
src = fetchFromGitHub {
owner = "maxcountryman";
repo = pname;
rev = version;
sha256 = "0036gag3nj7fzib23lbbpwhlrn1s0kkrfwk5pd90y4cjcfqh8z9x";
sha256 = "sha256-WlIholi/nzq6Ikc0LS6FhG0Q5Kz0kvvAlA2YJ7EksZ4=";
};
propagatedBuildInputs = [
@ -23,9 +23,15 @@ buildPythonPackage rec {
];
checkPhase = ''
${python.interpreter} test_bcrypt.py
runHook preCheck
${python.interpreter} -m unittest discover
runHook postCheck
'';
pythonImportsCheck = [
"flask_bcrypt"
];
meta = with lib; {
description = "Brcrypt hashing for Flask";
homepage = "https://github.com/maxcountryman/flask-bcrypt";