fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
692 B
Nix
37 lines
692 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flask,
|
|
bcrypt,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-bcrypt";
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxcountryman";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-WlIholi/nzq6Ikc0LS6FhG0Q5Kz0kvvAlA2YJ7EksZ4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
flask
|
|
bcrypt
|
|
];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "flask_bcrypt" ];
|
|
|
|
meta = with lib; {
|
|
description = "Brcrypt hashing for Flask";
|
|
homepage = "https://github.com/maxcountryman/flask-bcrypt";
|
|
license = licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|