Merge pull request #292973 from gador/flask-security-too-5.4.1
This commit is contained in:
commit
85426e06d0
|
@ -3,7 +3,6 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools
|
, setuptools
|
||||||
, fetchpatch
|
|
||||||
|
|
||||||
# extras: babel
|
# extras: babel
|
||||||
, babel
|
, babel
|
||||||
|
@ -42,13 +41,13 @@
|
||||||
, peewee
|
, peewee
|
||||||
, pony
|
, pony
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python-dateutil
|
|
||||||
, zxcvbn
|
, zxcvbn
|
||||||
|
, freezegun
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flask-security-too";
|
pname = "flask-security-too";
|
||||||
version = "5.3.3";
|
version = "5.4.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -56,19 +55,9 @@ buildPythonPackage rec {
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Flask-Security-Too";
|
pname = "Flask-Security-Too";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-we2TquU28qP/ir4eE67J0Nlft/8IL8w7Ny3ypSE5cNk=";
|
hash = "sha256-dzVHHC5Lsh6rUC+cOyNEe/uHVTzkObhFffgSvFOfKoI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://github.com/Flask-Middleware/flask-security/pull/901
|
|
||||||
(fetchpatch {
|
|
||||||
name = "fixes-for-py_webauthn-2.0.patch";
|
|
||||||
url = "https://github.com/Flask-Middleware/flask-security/commit/5725f7021343567ec0b25c890e859f4e84c93ba6.patch";
|
|
||||||
hash = "sha256-4EgwT4zRj0mh4ZaoZFz7H5KeiZ9zs+BY4siYm8DwMfU=";
|
|
||||||
excludes = [ "CHANGES.rst" ];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
@ -114,8 +103,8 @@ buildPythonPackage rec {
|
||||||
peewee
|
peewee
|
||||||
pony
|
pony
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
python-dateutil
|
|
||||||
zxcvbn
|
zxcvbn
|
||||||
|
freezegun
|
||||||
]
|
]
|
||||||
++ passthru.optional-dependencies.babel
|
++ passthru.optional-dependencies.babel
|
||||||
++ passthru.optional-dependencies.common
|
++ passthru.optional-dependencies.common
|
||||||
|
|
Loading…
Reference in New Issue
Block a user