summary refs log tree commit diff
path: root/pkgs/development/python-modules/wtforms/default.nix
blob: 48764d509fe856f8f7c413ab8d76ff6941a08b71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchPypi
, markupsafe
, Babel
, pytestCheckHook
, email_validator
}:

buildPythonPackage rec {
  version = "3.0.1";
  pname = "WTForms";

  src = fetchPypi {
    inherit pname 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 ];
  };

}