diff options
author | Udo Spallek <udono@virtual-things.biz> | 2018-05-14 18:16:09 +0000 |
---|---|---|
committer | Udo Spallek <udono@virtual-things.biz> | 2018-05-18 17:17:44 +0000 |
commit | 2a1c4bf07a8119e0208b067be48d5772ae767abf (patch) | |
tree | 3a7a77e7f410ad06dd9b31ca5566f0736ac82920 /pkgs/applications/office/tryton | |
parent | 5a3ccf19c4cc5503bc1196dfdee42b32362dd2a9 (diff) |
tryton: 4.6 -> 4.8
Major upstream release. Use GTK-3. Use extras-depends: cdecimal, goocalendar
Diffstat (limited to 'pkgs/applications/office/tryton')
-rw-r--r-- | pkgs/applications/office/tryton/default.nix | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/pkgs/applications/office/tryton/default.nix b/pkgs/applications/office/tryton/default.nix index 51d5b083e6bd6..0df9fd899dc54 100644 --- a/pkgs/applications/office/tryton/default.nix +++ b/pkgs/applications/office/tryton/default.nix @@ -1,22 +1,45 @@ -{ stdenv, fetchurl, python2Packages, librsvg }: +{ stdenv +, python2Packages +, pkgconfig +, librsvg +, gobjectIntrospection +, atk +, gtk3 +, gtkspell3 +, gnome3 +, goocanvas2 +}: with stdenv.lib; python2Packages.buildPythonApplication rec { - name = "tryton-${version}"; - version = "4.6.2"; - src = fetchurl { - url = "mirror://pypi/t/tryton/${name}.tar.gz"; - sha256 = "0bamr040np02gfjk8c734rw3mbgg75irfgpdcl2npgkdzyw1ksf9"; + pname = "tryton"; + version = "4.8.0"; + src = python2Packages.fetchPypi { + inherit pname version; + sha256 = "1ywgna4hhmji8pfrwhdfj1ns49vs9nwppqb7iy7jr27wrxk4bm6b"; }; + nativeBuildInputs = [ pkgconfig gobjectIntrospection ]; propagatedBuildInputs = with python2Packages; [ chardet dateutil pygtk librsvg + pygobject3 + goocalendar + cdecimal + ]; + buildInputs = [ + atk + gtk3 + gnome3.defaultIconTheme + gtkspell3 + goocanvas2 ]; makeWrapperArgs = [ ''--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"'' + ''--set GI_TYPELIB_PATH "$GI_TYPELIB_PATH"'' + ''--suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"'' ]; meta = { description = "The client of the Tryton application platform"; @@ -30,6 +53,6 @@ python2Packages.buildPythonApplication rec { ''; homepage = http://www.tryton.org/; license = licenses.gpl3Plus; - maintainers = [ maintainers.johbo ]; + maintainers = with maintainers; [ johbo udono ]; }; } |