nixpkgs/pkgs/development/python-modules/deform/default.nix

42 lines
968 B
Nix
Raw Normal View History

2018-03-20 12:38:29 +01:00
{ lib, buildPythonPackage, fetchPypi
2018-03-20 12:44:08 +01:00
, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
, nose, coverage, beautifulsoup4, flaky }:
2018-03-20 12:38:29 +01:00
buildPythonPackage rec {
pname = "deform";
2018-11-20 11:58:35 +01:00
version = "2.0.7";
2018-03-20 12:38:29 +01:00
src = fetchPypi {
inherit pname version;
2018-11-20 11:58:35 +01:00
sha256 = "2ff29c32ebe544c0f0a77087e268b2cd9cb4b11fa35af3635d5b42913f88d74a";
2018-03-20 12:38:29 +01:00
};
2018-03-20 12:44:08 +01:00
postPatch = ''
substituteInPlace setup.py \
--replace "iso8601<=0.1.11" iso8601
'';
2018-03-20 12:38:29 +01:00
propagatedBuildInputs = [
2018-03-20 12:44:08 +01:00
chameleon
2018-03-20 12:38:29 +01:00
colander
2018-03-20 12:44:08 +01:00
iso8601
peppercorn
2018-03-20 12:38:29 +01:00
translationstring
zope_deprecation
2018-03-20 12:44:08 +01:00
];
checkInputs = [
2018-03-20 12:38:29 +01:00
nose
2018-03-20 12:44:08 +01:00
coverage
beautifulsoup4
flaky
2018-03-20 12:38:29 +01: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; [ garbas domenkozar ];
};
}