2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2019-11-27 19:03:23 +01:00
|
|
|
, python3Packages
|
2021-01-17 03:09:27 +01:00
|
|
|
, pkg-config
|
2018-05-14 20:16:09 +02:00
|
|
|
, librsvg
|
2018-12-02 12:41:15 +01:00
|
|
|
, gobject-introspection
|
2018-05-14 20:16:09 +02:00
|
|
|
, atk
|
|
|
|
, gtk3
|
|
|
|
, gtkspell3
|
2021-05-07 23:18:14 +02:00
|
|
|
, gnome
|
2019-11-27 19:03:23 +01:00
|
|
|
, glib
|
2018-05-14 20:16:09 +02:00
|
|
|
, goocanvas2
|
2019-11-27 19:03:23 +01:00
|
|
|
, gdk-pixbuf
|
|
|
|
, pango
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
|
|
|
, wrapGAppsHook
|
2018-05-14 20:16:09 +02:00
|
|
|
}:
|
2017-01-15 00:39:40 +01:00
|
|
|
|
2021-01-15 06:42:41 +01:00
|
|
|
with lib;
|
2017-01-15 00:39:40 +01:00
|
|
|
|
2019-11-27 19:03:23 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-05-14 20:16:09 +02:00
|
|
|
pname = "tryton";
|
2020-01-30 18:29:23 +01:00
|
|
|
version = "5.4.2";
|
2019-11-27 19:03:23 +01:00
|
|
|
|
|
|
|
disabled = !python3Packages.isPy3k;
|
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
2018-05-14 20:16:09 +02:00
|
|
|
inherit pname version;
|
2020-01-30 18:29:23 +01:00
|
|
|
sha256 = "1rca19krvmycdhmi1vb4ixwq0cagmrkhbqry4f19b725nlp8cv0q";
|
2017-01-15 00:39:40 +01:00
|
|
|
};
|
2019-11-27 19:03:23 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 03:09:27 +01:00
|
|
|
pkg-config
|
2019-11-27 19:03:23 +01:00
|
|
|
gobject-introspection
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2021-07-03 13:37:24 +02:00
|
|
|
python-dateutil
|
2018-05-14 20:16:09 +02:00
|
|
|
pygobject3
|
|
|
|
goocalendar
|
2019-11-27 19:03:23 +01:00
|
|
|
pycairo
|
2018-05-14 20:16:09 +02:00
|
|
|
];
|
2019-11-27 19:03:23 +01:00
|
|
|
|
2018-05-14 20:16:09 +02:00
|
|
|
buildInputs = [
|
|
|
|
atk
|
2019-11-27 19:03:23 +01:00
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
2021-05-07 23:18:14 +02:00
|
|
|
gnome.adwaita-icon-theme
|
2018-05-14 20:16:09 +02:00
|
|
|
goocanvas2
|
2019-11-27 19:03:23 +01:00
|
|
|
fontconfig
|
|
|
|
freetype
|
|
|
|
gtk3
|
|
|
|
gtkspell3
|
|
|
|
librsvg
|
|
|
|
pango
|
2017-01-15 00:39:40 +01:00
|
|
|
];
|
2019-11-27 19:03:23 +01:00
|
|
|
|
|
|
|
strictDeps = false;
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-01-15 00:39:40 +01: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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.tryton.org/";
|
2017-01-15 00:39:40 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2018-05-14 20:16:09 +02:00
|
|
|
maintainers = with maintainers; [ johbo udono ];
|
2017-01-15 00:39:40 +01:00
|
|
|
};
|
|
|
|
}
|