2018-03-20 11:38:29 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-03-20 11:44:08 +00:00
|
|
|
, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
|
2020-11-06 04:52:32 +00:00
|
|
|
, nose, coverage, beautifulsoup4, flaky, pyramid, pytestCheckHook }:
|
2018-03-20 11:38:29 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deform";
|
2020-10-25 09:06:51 +00:00
|
|
|
version = "2.0.14";
|
2018-03-20 11:38:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:51 +00:00
|
|
|
sha256 = "35d9acf144245772a70d05bd24b8263e8cd284f0d564011e8bf331d6150acfc7";
|
2018-03-20 11:38:29 +00:00
|
|
|
};
|
|
|
|
|
2018-03-20 11:44:08 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "iso8601<=0.1.11" iso8601
|
|
|
|
'';
|
|
|
|
|
2018-03-20 11:38:29 +00:00
|
|
|
propagatedBuildInputs = [
|
2018-03-20 11:44:08 +00:00
|
|
|
chameleon
|
2018-03-20 11:38:29 +00:00
|
|
|
colander
|
2018-03-20 11:44:08 +00:00
|
|
|
iso8601
|
|
|
|
peppercorn
|
2018-03-20 11:38:29 +00:00
|
|
|
translationstring
|
|
|
|
zope_deprecation
|
2018-03-20 11:44:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2018-03-20 11:38:29 +00:00
|
|
|
nose
|
2018-03-20 11:44:08 +00:00
|
|
|
coverage
|
|
|
|
beautifulsoup4
|
|
|
|
flaky
|
2020-11-06 04:52:32 +00:00
|
|
|
pyramid
|
|
|
|
pytestCheckHook
|
2018-03-20 11:38:29 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Form library with advanced features like nested forms";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://docs.pylonsproject.org/projects/deform/en/latest/";
|
2018-03-20 11:38:29 +00:00
|
|
|
license = licenses.free; # http://www.repoze.org/LICENSE.txt
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2018-03-20 11:38:29 +00:00
|
|
|
};
|
|
|
|
}
|