1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 chameleon,
6 colander,
7 iso8601,
8 peppercorn,
9 translationstring,
10 zope-deprecation,
11 nose,
12 coverage,
13 beautifulsoup4,
14 flaky,
15 pyramid,
16 pytestCheckHook,
17}:
18
19buildPythonPackage rec {
20 pname = "deform";
21 version = "2.0.15";
22 format = "setuptools";
23
24 src = fetchPypi {
25 inherit pname version;
26 sha256 = "1e912937650c1dbb830079dd9c039950762a230223a567740fbf1b23f1090367";
27 };
28
29 propagatedBuildInputs = [
30 chameleon
31 colander
32 iso8601
33 peppercorn
34 translationstring
35 zope-deprecation
36 ];
37
38 nativeCheckInputs = [
39 nose
40 coverage
41 beautifulsoup4
42 flaky
43 pyramid
44 pytestCheckHook
45 ];
46
47 meta = with lib; {
48 description = "Form library with advanced features like nested forms";
49 homepage = "https://docs.pylonsproject.org/projects/deform/en/latest/";
50 license = licenses.free; # http://www.repoze.org/LICENSE.txt
51 maintainers = with maintainers; [ domenkozar ];
52 };
53}