Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 769 B view raw
1{ lib 2, fetchPypi 3, fetchpatch 4, buildPythonPackage 5, flask 6, itsdangerous 7, wtforms 8, email-validator 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "flask-wtf"; 14 version = "1.1.1"; 15 16 src = fetchPypi { 17 pname = "Flask-WTF"; 18 inherit version; 19 hash = "sha256-QcQkTprmJtY77UKuR4W5Bme4hbFTXVpAleH2MGDRKqk="; 20 }; 21 22 propagatedBuildInputs = [ 23 flask 24 itsdangerous 25 wtforms 26 ]; 27 28 passthru.optional-dependencies = { 29 email = [ email-validator ]; 30 }; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 ]; 35 36 meta = with lib; { 37 description = "Simple integration of Flask and WTForms."; 38 license = licenses.bsd3; 39 maintainers = with maintainers; [ mic92 anthonyroussel ]; 40 homepage = "https://github.com/lepture/flask-wtf/"; 41 }; 42}