pythonPackages.deform: move expression
This commit is contained in:
parent
12695be641
commit
a1b9cc7938
31
pkgs/development/python-modules/deform/default.nix
Normal file
31
pkgs/development/python-modules/deform/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user