2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
|
2020-11-19 00:13:47 +00:00
|
|
|
, nose, coverage, beautifulsoup4, flaky, pyramid, pytestCheckHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deform";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "2.0.14";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "35d9acf144245772a70d05bd24b8263e8cd284f0d564011e8bf331d6150acfc7";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "iso8601<=0.1.11" iso8601
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
chameleon
|
|
|
|
colander
|
|
|
|
iso8601
|
|
|
|
peppercorn
|
|
|
|
translationstring
|
|
|
|
zope_deprecation
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
coverage
|
|
|
|
beautifulsoup4
|
|
|
|
flaky
|
2020-11-19 00:13:47 +00:00
|
|
|
pyramid
|
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Form library with advanced features like nested forms";
|
|
|
|
homepage = "https://docs.pylonsproject.org/projects/deform/en/latest/";
|
|
|
|
license = licenses.free; # http://www.repoze.org/LICENSE.txt
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|