evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / flask-principal / default.nix
blob5fe11b282c0d666f28615ae9ad5a0ee90b8deef2
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   blinker,
6   flask,
7   pytestCheckHook,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "flask-principal";
13   version = "0.4.0";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "pallets-eco";
18     repo = "flask-principal";
19     rev = "refs/tags/${version}";
20     hash = "sha256-E9urzZc7/QtzAohSNAJsQtykrplb+MC189VGZI5kmEE=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [
26     flask
27     blinker
28   ];
30   pythonImportsCheck = [ "flask_principal" ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   pytestFlagsArray = [ "test_principal.py" ];
36   meta = with lib; {
37     homepage = "http://packages.python.org/Flask-Principal/";
38     description = "Identity management for flask";
39     license = licenses.mit;
40     maintainers = with maintainers; [ abbradar ];
41   };