python3Packages.libarcus: fix build

This commit is contained in:
Rafael Ieda
2025-11-04 17:45:50 -03:00
parent 3c6f8e7070
commit 3572586457
@@ -7,6 +7,7 @@
cmake,
sip4,
protobuf,
distutils,
}:
buildPythonPackage rec {
@@ -30,16 +31,25 @@ buildPythonPackage rec {
})
];
propagatedBuildInputs = [ sip4 ];
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [
sip4
distutils
];
nativeBuildInputs = [
cmake
sip4
];
buildInputs = [ protobuf ];
strictDeps = true;
postPatch = ''
sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
'';
meta = with lib; {
broken = true;
description = "Communication library between internal components for Ultimaker software";
homepage = "https://github.com/Ultimaker/libArcus";
license = licenses.lgpl3Plus;