0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00
nixpkgs/pkgs/development/python-modules/flask-bcrypt/default.nix
2025-05-25 03:41:48 +02:00

37 lines
701 B
Nix

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