depot/third_party/nixpkgs/pkgs/development/python-modules/deform/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

43 lines
1,022 B
Nix

{ lib, buildPythonPackage, fetchPypi
, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
, nose, coverage, beautifulsoup4, flaky, pyramid, pytestCheckHook }:
buildPythonPackage rec {
pname = "deform";
version = "2.0.15";
src = fetchPypi {
inherit pname version;
sha256 = "1e912937650c1dbb830079dd9c039950762a230223a567740fbf1b23f1090367";
};
postPatch = ''
substituteInPlace setup.py \
--replace "iso8601<=0.1.11" iso8601
'';
propagatedBuildInputs = [
chameleon
colander
iso8601
peppercorn
translationstring
zope_deprecation
];
checkInputs = [
nose
coverage
beautifulsoup4
flaky
pyramid
pytestCheckHook
];
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 ];
};
}