deform: use pypi deform library and add helpers to deform scope directly

to avoid passing it each time form is rendered
This commit is contained in:
Daniel Dourvaris 2016-07-29 17:27:38 +03:00
parent 9dd0674b39
commit 61553db529
3 changed files with 25 additions and 18 deletions

View file

@ -572,14 +572,13 @@
};
};
deform = super.buildPythonPackage {
name = "deform-2.0a3.dev0";
name = "deform-2.0a2";
buildInputs = with self; [];
doCheck = false;
propagatedBuildInputs = with self; [Chameleon colander iso8601 peppercorn translationstring zope.deprecation];
src = fetchgit {
url = "https://github.com/Pylons/deform";
rev = "08fb9de077c76951f6e70e28d4bf060a209d3d39";
sha256 = "0nmhajc4pfgp4lbwhs5szqfzswpij1qyr69m7qkyhncl2g2d759r";
propagatedBuildInputs = with self; [Chameleon colander peppercorn translationstring zope.deprecation];
src = fetchurl {
url = "https://pypi.python.org/packages/8d/b3/aab57e81da974a806dc9c5fa024a6404720f890a6dcf2e80885e3cb4609a/deform-2.0a2.tar.gz";
md5 = "7a90d41f7fbc18002ce74f39bd90a5e4";
};
meta = {
license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];