Merge pull request #258233 from anthonyroussel/flask-wtf_1_1_2

python311Packages.flask-wtf: 1.1.1 -> 1.2.1
This commit is contained in:
Mario Rodas 2023-10-17 05:41:06 -05:00 committed by GitHub
commit 28c72be95b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 4 deletions

View file

@ -30,8 +30,10 @@ let
});
flask-wtf = super.flask-wtf.overridePythonAttrs (old: rec {
version = "0.15.1";
format = "setuptools";
src = old.src.override {
inherit version;
pname = "Flask-WTF";
hash = "sha256-/xdxhfiRMC3CU0N/5jCB56RqTpmsph3+CG+yPlT/8tw=";
};
disabledTests = [

View file

@ -1,7 +1,8 @@
{ lib
, fetchPypi
, fetchpatch
, buildPythonPackage
, pythonOlder
, hatchling
, flask
, itsdangerous
, wtforms
@ -11,14 +12,21 @@
buildPythonPackage rec {
pname = "flask-wtf";
version = "1.1.1";
version = "1.2.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "Flask-WTF";
pname = "flask_wtf";
inherit version;
hash = "sha256-QcQkTprmJtY77UKuR4W5Bme4hbFTXVpAleH2MGDRKqk=";
hash = "sha256-i7Jp65u0a4fnyCM9fn3r3x+LdL+QzBeJmIwps3qXtpU=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
flask
itsdangerous
@ -38,5 +46,6 @@ buildPythonPackage rec {
license = licenses.bsd3;
maintainers = with maintainers; [ mic92 anthonyroussel ];
homepage = "https://github.com/lepture/flask-wtf/";
changelog = "https://github.com/wtforms/flask-wtf/releases/tag/v${version}";
};
}