mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
tryton: 4.8.5 -> 5.4.0
Uses python3, no more pygtk.
This commit is contained in:
parent
7b206210f2
commit
0ea42c7af6
1 changed files with 37 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv
|
||||
, python2Packages
|
||||
, python3Packages
|
||||
, pkgconfig
|
||||
, librsvg
|
||||
, gobject-introspection
|
||||
|
@ -7,40 +7,59 @@
|
|||
, gtk3
|
||||
, gtkspell3
|
||||
, gnome3
|
||||
, glib
|
||||
, goocanvas2
|
||||
, gdk-pixbuf
|
||||
, pango
|
||||
, fontconfig
|
||||
, freetype
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
python2Packages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "tryton";
|
||||
version = "4.8.5";
|
||||
src = python2Packages.fetchPypi {
|
||||
version = "5.4.0";
|
||||
|
||||
disabled = !python3Packages.isPy3k;
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "43759d22b061a7a392a534d19a045fafd442ce98a0e390ee830127367dcaf4b4";
|
||||
sha256 = "0wbq8y8z0n6c5b3h5ynlawn3z79a3hkb1fkmblz4pwnj0jfnbswd";
|
||||
};
|
||||
nativeBuildInputs = [ pkgconfig gobject-introspection ];
|
||||
propagatedBuildInputs = with python2Packages; [
|
||||
chardet
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
gobject-introspection
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
dateutil
|
||||
pygtk
|
||||
librsvg
|
||||
pygobject3
|
||||
goocalendar
|
||||
cdecimal
|
||||
pycairo
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
atk
|
||||
gtk3
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gnome3.adwaita-icon-theme
|
||||
gtkspell3
|
||||
goocanvas2
|
||||
fontconfig
|
||||
freetype
|
||||
gtk3
|
||||
gtkspell3
|
||||
librsvg
|
||||
pango
|
||||
];
|
||||
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"''
|
||||
];
|
||||
|
||||
strictDeps = false;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "The client of the Tryton application platform";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue