depot/third_party/nixpkgs/pkgs/development/python-modules/flask-wtf/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

41 lines
744 B
Nix

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