depot/third_party/nixpkgs/pkgs/development/python-modules/flask-wtf/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

42 lines
769 B
Nix

{ lib
, fetchPypi
, fetchpatch
, buildPythonPackage
, flask
, itsdangerous
, wtforms
, email-validator
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "flask-wtf";
version = "1.1.1";
src = fetchPypi {
pname = "Flask-WTF";
inherit version;
hash = "sha256-QcQkTprmJtY77UKuR4W5Bme4hbFTXVpAleH2MGDRKqk=";
};
propagatedBuildInputs = [
flask
itsdangerous
wtforms
];
passthru.optional-dependencies = {
email = [ email-validator ];
};
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Simple integration of Flask and WTForms.";
license = licenses.bsd3;
maintainers = with maintainers; [ mic92 anthonyroussel ];
homepage = "https://github.com/lepture/flask-wtf/";
};
}