depot/third_party/nixpkgs/pkgs/development/python-modules/flask-principal/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
830 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
blinker,
flask,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "flask-principal";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pallets-eco";
repo = "flask-principal";
rev = "refs/tags/${version}";
hash = "sha256-E9urzZc7/QtzAohSNAJsQtykrplb+MC189VGZI5kmEE=";
};
build-system = [ setuptools ];
dependencies = [
flask
blinker
];
pythonImportsCheck = [ "flask_principal" ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "test_principal.py" ];
meta = with lib; {
homepage = "http://packages.python.org/Flask-Principal/";
description = "Identity management for flask";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
};
}