12 buildPythonPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-X33ptwYj9YkVWqUDPP+Ic+hoIb+rwsLdQXvHLA9z+3w=";
25 # Fix build against protobuf 3.18+
26 # https://github.com/Ultimaker/libArcus/issues/121
28 url = "https://raw.githubusercontent.com/coryan/vcpkg/f69b85aa403b04e7d442c90db3418d484e44024f/ports/arcus/0001-fix-protobuf-deprecated.patch";
29 sha256 = "0bqj7pxzpwsamknd6gadj419x6mwx8wnlfzg4zqn6cax3cmasjb2";
33 propagatedBuildInputs = [ sip4 ];
34 nativeBuildInputs = [ cmake ];
35 buildInputs = [ protobuf ];
38 sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
43 description = "Communication library between internal components for Ultimaker software";
44 homepage = "https://github.com/Ultimaker/libArcus";
45 license = licenses.lgpl3Plus;
46 platforms = platforms.linux;
47 maintainers = with maintainers; [