1{ lib, buildPythonPackage, fetchPypi
2, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
3, nose, coverage, beautifulsoup4, flaky }:
4
5buildPythonPackage rec {
6 pname = "deform";
7 version = "2.0.7";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "2ff29c32ebe544c0f0a77087e268b2cd9cb4b11fa35af3635d5b42913f88d74a";
12 };
13
14 postPatch = ''
15 substituteInPlace setup.py \
16 --replace "iso8601<=0.1.11" iso8601
17 '';
18
19 propagatedBuildInputs = [
20 chameleon
21 colander
22 iso8601
23 peppercorn
24 translationstring
25 zope_deprecation
26 ];
27
28 checkInputs = [
29 nose
30 coverage
31 beautifulsoup4
32 flaky
33 ];
34
35 meta = with lib; {
36 description = "Form library with advanced features like nested forms";
37 homepage = https://docs.pylonsproject.org/projects/deform/en/latest/;
38 license = licenses.free; # http://www.repoze.org/LICENSE.txt
39 maintainers = with maintainers; [ garbas domenkozar ];
40 };
41}