pythonPackages.deform: move expression

This commit is contained in:
Robert Schütz 2018-03-20 12:38:29 +01:00
parent 12695be641
commit a1b9cc7938
2 changed files with 32 additions and 26 deletions

View File

@ -0,0 +1,31 @@
{ lib, buildPythonPackage, fetchPypi
, beautifulsoup4, peppercorn, colander, translationstring
, chameleon, zope_deprecation, coverage, nose }:
buildPythonPackage rec {
pname = "deform";
version = "2.0a2";
src = fetchPypi {
inherit pname version;
sha256 = "3fa4d287c8da77a83556e4a5686de006ddd69da359272120b915dc8f5a70cabd";
};
propagatedBuildInputs = [
beautifulsoup4
peppercorn
colander
translationstring
chameleon
zope_deprecation
coverage
nose
];
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 ];
};
}

View File

@ -3651,32 +3651,7 @@ in {
decorator = callPackage ../development/python-modules/decorator { };
deform = buildPythonPackage rec {
name = "deform-2.0a2";
src = pkgs.fetchurl {
url = "mirror://pypi/d/deform/${name}.tar.gz";
sha256 = "3fa4d287c8da77a83556e4a5686de006ddd69da359272120b915dc8f5a70cabd";
};
buildInputs = with self; [] ++ optional isPy26 unittest2;
propagatedBuildInputs =
[ self.beautifulsoup4
self.peppercorn
self.colander
self.translationstring
self.chameleon
self.zope_deprecation
self.coverage
self.nose
];
meta = {
maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.all;
};
};
deform = callPackage ../development/python-modules/deform { };
demjson = callPackage ../development/python-modules/demjson { };