depot/third_party/nixpkgs/pkgs/development/python-modules/flask-bcrypt/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

37 lines
665 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, bcrypt
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "flask-bcrypt";
version = "1.0.1";
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 = [ ];
};
}