2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-11-27 18:03:23 +00:00
|
|
|
, python3Packages
|
2023-05-25 14:51:30 +00:00
|
|
|
, fetchPypi
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config
|
2018-05-14 18:16:09 +00:00
|
|
|
, librsvg
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-05-14 18:16:09 +00:00
|
|
|
, atk
|
|
|
|
, gtk3
|
|
|
|
, gtkspell3
|
2024-06-22 12:43:05 +00:00
|
|
|
, adwaita-icon-theme
|
2019-11-27 18:03:23 +00:00
|
|
|
, glib
|
2018-05-14 18:16:09 +00:00
|
|
|
, goocanvas2
|
2019-11-27 18:03:23 +00:00
|
|
|
, gdk-pixbuf
|
|
|
|
, pango
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2018-05-14 18:16:09 +00:00
|
|
|
}:
|
2017-01-14 23:39:40 +00:00
|
|
|
|
2019-11-27 18:03:23 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-05-14 18:16:09 +00:00
|
|
|
pname = "tryton";
|
2024-09-27 16:42:57 +00:00
|
|
|
version = "7.2.6";
|
2024-09-14 01:31:43 +00:00
|
|
|
pyproject = true;
|
2019-11-27 18:03:23 +00:00
|
|
|
|
2023-05-25 14:51:30 +00:00
|
|
|
src = fetchPypi {
|
2018-05-14 18:16:09 +00:00
|
|
|
inherit pname version;
|
2024-09-27 16:42:57 +00:00
|
|
|
hash = "sha256-dyJ+PsMUinJWYZjcwUuDLHQyB+m5AdfCR+gXfUrvjDc=";
|
2017-01-14 23:39:40 +00:00
|
|
|
};
|
2019-11-27 18:03:23 +00:00
|
|
|
|
2024-09-14 01:31:43 +00:00
|
|
|
build-system = [ python3Packages.setuptools ];
|
|
|
|
|
2019-11-27 18:03:23 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2019-11-27 18:03:23 +00:00
|
|
|
gobject-introspection
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2019-11-27 18:03:23 +00:00
|
|
|
];
|
|
|
|
|
2024-09-14 01:31:43 +00:00
|
|
|
dependencies = with python3Packages; [
|
2021-07-03 11:37:24 +00:00
|
|
|
python-dateutil
|
2018-05-14 18:16:09 +00:00
|
|
|
pygobject3
|
|
|
|
goocalendar
|
2019-11-27 18:03:23 +00:00
|
|
|
pycairo
|
2018-05-14 18:16:09 +00:00
|
|
|
];
|
2019-11-27 18:03:23 +00:00
|
|
|
|
2018-05-14 18:16:09 +00:00
|
|
|
buildInputs = [
|
|
|
|
atk
|
2019-11-27 18:03:23 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
2024-06-22 12:43:05 +00:00
|
|
|
adwaita-icon-theme
|
2018-05-14 18:16:09 +00: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
|
|
|
|
2024-09-14 01:38:08 +00:00
|
|
|
dontWrapGApps = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
|
|
'';
|
|
|
|
|
2019-11-27 18:03:23 +00:00
|
|
|
strictDeps = false;
|
|
|
|
|
2024-09-14 01:31:43 +00:00
|
|
|
pythonImportsCheck = [ "tryton" ];
|
|
|
|
|
2019-11-27 18:03:23 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2024-08-13 20:03:55 +00:00
|
|
|
meta = with lib; {
|
2017-01-14 23:39:40 +00:00
|
|
|
description = "Client of the Tryton application platform";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "tryton";
|
2017-01-14 23:39:40 +00:00
|
|
|
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 01:11:51 +00:00
|
|
|
homepage = "http://www.tryton.org/";
|
2017-01-14 23:39:40 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2018-05-14 18:16:09 +00:00
|
|
|
maintainers = with maintainers; [ johbo udono ];
|
2017-01-14 23:39:40 +00:00
|
|
|
};
|
|
|
|
}
|