nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 37 lines 761 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, markupsafe 5, babel 6, pytestCheckHook 7, email_validator 8}: 9 10buildPythonPackage rec { 11 version = "3.0.1"; 12 pname = "WTForms"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1g654ghavds387hqxmhg9s8x222x89wbq1ggzxbsyn6x2axindbb"; 17 }; 18 19 propagatedBuildInputs = [ markupsafe babel ]; 20 21 22 checkInputs = [ 23 pytestCheckHook 24 email_validator 25 ]; 26 27 pythonImportsCheck = [ "wtforms" ]; 28 29 meta = with lib; { 30 description = "A flexible forms validation and rendering library for Python"; 31 homepage = "https://github.com/wtforms/wtforms"; 32 changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst"; 33 license = licenses.bsd3; 34 maintainers = [ maintainers.bhipple ]; 35 }; 36 37}