depot/third_party/nixpkgs/pkgs/development/python-modules/deform/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

41 lines
963 B
Nix

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