Skip to content

Commit 2a19dcb

Browse files
authored
tryton: 7.2.4 -> 7.2.5 (#339773)
2 parents dcf7073 + 466af1a commit 2a19dcb

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

pkgs/applications/office/tryton/default.nix

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,23 @@
1919

2020
python3Packages.buildPythonApplication rec {
2121
pname = "tryton";
22-
version = "7.2.4";
23-
24-
disabled = !python3Packages.isPy3k;
22+
version = "7.2.5";
23+
pyproject = true;
2524

2625
src = fetchPypi {
2726
inherit pname version;
28-
hash = "sha256-LYebXgAvIG3pUF7GpRjeQvP6S83yPjPO/lZg9r0X+Kc=";
27+
hash = "sha256-U6hA6TuIMDTFAZUic60A5IKr/LKxKZEgiTIhkLlTJSw=";
2928
};
3029

30+
build-system = [ python3Packages.setuptools ];
31+
3132
nativeBuildInputs = [
3233
pkg-config
3334
gobject-introspection
3435
wrapGAppsHook3
3536
];
3637

37-
propagatedBuildInputs = with python3Packages; [
38+
dependencies = with python3Packages; [
3839
python-dateutil
3940
pygobject3
4041
goocalendar
@@ -55,8 +56,16 @@ python3Packages.buildPythonApplication rec {
5556
pango
5657
];
5758

59+
dontWrapGApps = true;
60+
61+
preFixup = ''
62+
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
63+
'';
64+
5865
strictDeps = false;
5966

67+
pythonImportsCheck = [ "tryton" ];
68+
6069
doCheck = false;
6170

6271
meta = with lib; {

0 commit comments

Comments
 (0)