1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 chameleon,
6 colander,
7 iso8601,
8 peppercorn,
9 translationstring,
10 zope-deprecation,
11 setuptools,
12 coverage,
13 beautifulsoup4,
14 flaky,
15 pyramid,
16 pytestCheckHook,
17}:
18
19buildPythonPackage rec {
20 pname = "deform";
21 version = "2.0.15";
22 pyproject = true;
23
24 src = fetchPypi {
25 inherit pname version;
26 hash = "sha256-HpEpN2UMHbuDAHndnAOZUHYqIwIjpWd0D78bI/EJA2c=";
27 };
28
29 build-system = [ setuptools ];
30
31 dependencies = [
32 chameleon
33 colander
34 iso8601
35 peppercorn
36 translationstring
37 zope-deprecation
38 ];
39
40 nativeCheckInputs = [
41 coverage
42 beautifulsoup4
43 flaky
44 pyramid
45 pytestCheckHook
46 ];
47
48 meta = {
49 description = "Form library with advanced features like nested forms";
50 homepage = "https://docs.pylonsproject.org/projects/deform/en/latest/";
51 # https://github.com/Pylons/deform/blob/fdc43d59de7d11b0e3ba1b92835b780cfe181719/LICENSE.txt
52 license = [
53 lib.licenses.bsd3
54 lib.licenses.cc-by-30
55 ];
56 maintainers = with lib.maintainers; [ ];
57 };
58}