mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 00:25:24 +00:00
59 lines
1.4 KiB
Nix
59 lines
1.4 KiB
Nix
{ stdenv
|
|
, python2Packages
|
|
, pkgconfig
|
|
, librsvg
|
|
, gobject-introspection
|
|
, atk
|
|
, gtk3
|
|
, gtkspell3
|
|
, gnome3
|
|
, goocanvas2
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
pname = "tryton";
|
|
version = "4.8.5";
|
|
src = python2Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "43759d22b061a7a392a534d19a045fafd442ce98a0e390ee830127367dcaf4b4";
|
|
};
|
|
nativeBuildInputs = [ pkgconfig gobject-introspection ];
|
|
propagatedBuildInputs = with python2Packages; [
|
|
chardet
|
|
dateutil
|
|
pygtk
|
|
librsvg
|
|
pygobject3
|
|
goocalendar
|
|
cdecimal
|
|
];
|
|
buildInputs = [
|
|
atk
|
|
gtk3
|
|
gnome3.adwaita-icon-theme
|
|
gtkspell3
|
|
goocanvas2
|
|
];
|
|
makeWrapperArgs = [
|
|
''--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 = {
|
|
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;
|
|
maintainers = with maintainers; [ johbo udono ];
|
|
};
|
|
}
|