My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/flask-login/default.nix

51 lines
901 B

{ lib
, blinker
, buildPythonPackage
, fetchPypi
, flask
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, semantic-version
, werkzeug
}:
buildPythonPackage rec {
pname = "flask-login";
version = "0.6.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "Flask-Login";
inherit version;
sha256 = "sha256-EwbUdKJwoDbW/RT0VkDE13NV5PHGfKQzGzctNEiZe4w=";
};
propagatedBuildInputs = [
flask
werkzeug
];
checkInputs = [
blinker
pytestCheckHook
semantic-version
];
disabledTests = lib.optionals (pythonAtLeast "3.10") [
"test_hashable"
];
pythonImportsCheck = [
"flask_login"
];
meta = with lib; {
description = "User session management for Flask";
homepage = "https://github.com/maxcountryman/flask-login";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
};
}