nixpkgs/pkgs/development/python-modules/flask-wtf/default.nix
Robert Schütz c88d7fb859 python3Packages.flask-wtf: 1.0.0 -> 1.0.1
Also change attribute name from flask_wtf to flask-wtf.
2022-05-24 04:13:39 +00: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/";
};
}