2018-05-14 19:16:09 +01:00
|
|
|
{ stdenv
|
2019-11-27 18:03:23 +00:00
|
|
|
, python3Packages
|
2018-05-14 19:16:09 +01:00
|
|
|
, pkgconfig
|
|
|
|
, librsvg
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-05-14 19:16:09 +01:00
|
|
|
, atk
|
|
|
|
, gtk3
|
|
|
|
, gtkspell3
|
|
|
|
, gnome3
|
2019-11-27 18:03:23 +00:00
|
|
|
, glib
|
2018-05-14 19:16:09 +01:00
|
|
|
, goocanvas2
|
2019-11-27 18:03:23 +00:00
|
|
|
, gdk-pixbuf
|
|
|
|
, pango
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
|
|
|
, wrapGAppsHook
|
2018-05-14 19:16:09 +01:00
|
|
|
}:
|
2017-01-14 23:39:40 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
2019-11-27 18:03:23 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-05-14 19:16:09 +01:00
|
|
|
pname = "tryton";
|
2019-11-27 18:03:23 +00:00
|
|
|
version = "5.4.0";
|
|
|
|
|
|
|
|
disabled = !python3Packages.isPy3k;
|
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
2018-05-14 19:16:09 +01:00
|
|
|
inherit pname version;
|
2019-11-27 18:03:23 +00:00
|
|
|
sha256 = "0wbq8y8z0n6c5b3h5ynlawn3z79a3hkb1fkmblz4pwnj0jfnbswd";
|
2017-01-14 23:39:40 +00:00
|
|
|
};
|
2019-11-27 18:03:23 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
gobject-introspection
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2017-01-14 23:39:40 +00:00
|
|
|
dateutil
|
2018-05-14 19:16:09 +01:00
|
|
|
pygobject3
|
|
|
|
goocalendar
|
2019-11-27 18:03:23 +00:00
|
|
|
pycairo
|
2018-05-14 19:16:09 +01:00
|
|
|
];
|
2019-11-27 18:03:23 +00:00
|
|
|
|
2018-05-14 19:16:09 +01:00
|
|
|
buildInputs = [
|
|
|
|
atk
|
2019-11-27 18:03:23 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.adwaita-icon-theme
|
2018-05-14 19:16:09 +01:00
|
|
|
goocanvas2
|
2019-11-27 18:03:23 +00:00
|
|
|
fontconfig
|
|
|
|
freetype
|
|
|
|
gtk3
|
|
|
|
gtkspell3
|
|
|
|
librsvg
|
|
|
|
pango
|
2017-01-14 23:39:40 +00:00
|
|
|
];
|
2019-11-27 18:03:23 +00:00
|
|
|
|
|
|
|
strictDeps = false;
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|