889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
38 lines
778 B
Nix
38 lines
778 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, markupsafe
|
|
, babel
|
|
, pytestCheckHook
|
|
, email-validator
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.0.1";
|
|
pname = "wtforms";
|
|
|
|
src = fetchPypi {
|
|
pname = "WTForms";
|
|
inherit version;
|
|
sha256 = "1g654ghavds387hqxmhg9s8x222x89wbq1ggzxbsyn6x2axindbb";
|
|
};
|
|
|
|
propagatedBuildInputs = [ markupsafe babel ];
|
|
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
email-validator
|
|
];
|
|
|
|
pythonImportsCheck = [ "wtforms" ];
|
|
|
|
meta = with lib; {
|
|
description = "A flexible forms validation and rendering library for Python";
|
|
homepage = "https://github.com/wtforms/wtforms";
|
|
changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.bhipple ];
|
|
};
|
|
|
|
}
|