Skip to content

Commit 1bc559e

Browse files
committed
tryton: build with pypaBuildHook
1 parent 26226ab commit 1bc559e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkgs/applications/office/tryton/default.nix

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,22 @@
2020
python3Packages.buildPythonApplication rec {
2121
pname = "tryton";
2222
version = "7.2.5";
23-
24-
disabled = !python3Packages.isPy3k;
23+
pyproject = true;
2524

2625
src = fetchPypi {
2726
inherit pname version;
2827
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
@@ -57,6 +58,8 @@ python3Packages.buildPythonApplication rec {
5758

5859
strictDeps = false;
5960

61+
pythonImportsCheck = [ "tryton" ];
62+
6063
doCheck = false;
6164

6265
meta = with lib; {

0 commit comments

Comments
 (0)