depot/third_party/nixpkgs/pkgs/development/python-modules/flask-bcrypt/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

37 lines
682 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;
sha256 = "sha256-WlIholi/nzq6Ikc0LS6FhG0Q5Kz0kvvAlA2YJ7EksZ4=";
};
propagatedBuildInputs = [
flask
bcrypt
];
checkInputs = [ unittestCheckHook ];
pythonImportsCheck = [
"flask_bcrypt"
];
meta = with lib; {
description = "Brcrypt hashing for Flask";
homepage = "https://github.com/maxcountryman/flask-bcrypt";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}