Unverified Commit 35725864 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

python3Packages.libarcus: fix build

parent 3c6f8e70
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -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;