tryton: 4.6 -> 4.8
Major upstream release. Use GTK-3. Use extras-depends: cdecimal, goocalendar
This commit is contained in:
parent
5a3ccf19c4
commit
2a1c4bf07a
@ -1,22 +1,45 @@
|
|||||||
{ stdenv, fetchurl, python2Packages, librsvg }:
|
{ stdenv
|
||||||
|
, python2Packages
|
||||||
|
, pkgconfig
|
||||||
|
, librsvg
|
||||||
|
, gobjectIntrospection
|
||||||
|
, atk
|
||||||
|
, gtk3
|
||||||
|
, gtkspell3
|
||||||
|
, gnome3
|
||||||
|
, goocanvas2
|
||||||
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "tryton-${version}";
|
pname = "tryton";
|
||||||
version = "4.6.2";
|
version = "4.8.0";
|
||||||
src = fetchurl {
|
src = python2Packages.fetchPypi {
|
||||||
url = "mirror://pypi/t/tryton/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "0bamr040np02gfjk8c734rw3mbgg75irfgpdcl2npgkdzyw1ksf9";
|
sha256 = "1ywgna4hhmji8pfrwhdfj1ns49vs9nwppqb7iy7jr27wrxk4bm6b";
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
||||||
propagatedBuildInputs = with python2Packages; [
|
propagatedBuildInputs = with python2Packages; [
|
||||||
chardet
|
chardet
|
||||||
dateutil
|
dateutil
|
||||||
pygtk
|
pygtk
|
||||||
librsvg
|
librsvg
|
||||||
|
pygobject3
|
||||||
|
goocalendar
|
||||||
|
cdecimal
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
atk
|
||||||
|
gtk3
|
||||||
|
gnome3.defaultIconTheme
|
||||||
|
gtkspell3
|
||||||
|
goocanvas2
|
||||||
];
|
];
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
''--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"''
|
''--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 = {
|
meta = {
|
||||||
description = "The client of the Tryton application platform";
|
description = "The client of the Tryton application platform";
|
||||||
@ -30,6 +53,6 @@ python2Packages.buildPythonApplication rec {
|
|||||||
'';
|
'';
|
||||||
homepage = http://www.tryton.org/;
|
homepage = http://www.tryton.org/;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ maintainers.johbo ];
|
maintainers = with maintainers; [ johbo udono ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user