2018-05-14 19:16:09 +01:00
|
|
|
{ stdenv
|
|
|
|
, python2Packages
|
|
|
|
, pkgconfig
|
|
|
|
, librsvg
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-05-14 19:16:09 +01:00
|
|
|
, atk
|
|
|
|
, gtk3
|
|
|
|
, gtkspell3
|
|
|
|
, gnome3
|
|
|
|
, goocanvas2
|
|
|
|
}:
|
2017-01-14 23:39:40 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
2018-05-14 19:16:09 +01:00
|
|
|
pname = "tryton";
|
2018-08-22 19:29:46 +01:00
|
|
|
version = "4.8.5";
|
2018-05-14 19:16:09 +01:00
|
|
|
src = python2Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-22 19:29:46 +01:00
|
|
|
sha256 = "43759d22b061a7a392a534d19a045fafd442ce98a0e390ee830127367dcaf4b4";
|
2017-01-14 23:39:40 +00:00
|
|
|
};
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig gobject-introspection ];
|
2017-01-14 23:39:40 +00:00
|
|
|
propagatedBuildInputs = with python2Packages; [
|
|
|
|
chardet
|
|
|
|
dateutil
|
|
|
|
pygtk
|
|
|
|
librsvg
|
2018-05-14 19:16:09 +01:00
|
|
|
pygobject3
|
|
|
|
goocalendar
|
|
|
|
cdecimal
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
atk
|
|
|
|
gtk3
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.adwaita-icon-theme
|
2018-05-14 19:16:09 +01:00
|
|
|
gtkspell3
|
|
|
|
goocanvas2
|
2017-01-14 23:39:40 +00:00
|
|
|
];
|
|
|
|
makeWrapperArgs = [
|
|
|
|
''--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"''
|
2018-05-14 19:16:09 +01:00
|
|
|
''--set GI_TYPELIB_PATH "$GI_TYPELIB_PATH"''
|
|
|
|
''--suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"''
|
2017-01-14 23:39:40 +00:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
description = "The client of the Tryton application platform";
|
|
|
|
longDescription = ''
|
|
|
|
The client for Tryton, a three-tier high-level general purpose
|
|
|
|
application platform under the license GPL-3 written in Python and using
|
|
|
|
PostgreSQL as database engine.
|
|
|
|
|
|
|
|
It is the core base of a complete business solution providing
|
|
|
|
modularity, scalability and security.
|
|
|
|
'';
|
|
|
|
homepage = http://www.tryton.org/;
|
|
|
|
license = licenses.gpl3Plus;
|
2018-05-14 19:16:09 +01:00
|
|
|
maintainers = with maintainers; [ johbo udono ];
|
2017-01-14 23:39:40 +00:00
|
|
|
};
|
|
|
|
}
|