3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.flask-security-too: add changelog to meta

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-01-25 09:32:50 +01:00
parent 1a57bf6b20
commit 79d156109d

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
# extras: babel
, babel
@ -46,11 +47,14 @@
buildPythonPackage rec {
pname = "flask-security-too";
version = "5.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Flask-Security-Too";
inherit version;
sha256 = "sha256-nSo7fdY9tiE7PnhosXh1eBfVa5l6a43XNvp6vKvrq5Y=";
hash = "sha256-nSo7fdY9tiE7PnhosXh1eBfVa5l6a43XNvp6vKvrq5Y=";
};
propagatedBuildInputs = [
@ -103,10 +107,13 @@ buildPythonPackage rec {
++ passthru.optional-dependencies.mfa;
pythonImportsCheck = [ "flask_security" ];
pythonImportsCheck = [
"flask_security"
];
meta = with lib; {
homepage = "https://pypi.org/project/Flask-Security-Too/";
changelog = "https://github.com/Flask-Middleware/flask-security/blob/${version}/CHANGES.rst";
homepage = "https://github.com/Flask-Middleware/flask-security";
description = "Simple security for Flask apps (fork)";
license = licenses.mit;
maintainers = with maintainers; [ gador ];