1 { lib, buildPythonPackage, python, pythonOlder, fetchFromGitHub, cmake, sip4 }:
3 buildPythonPackage rec {
8 src = fetchFromGitHub {
12 hash = "sha256-MAA1WtGED6lvU6N4BE6wwY1aYaFrCq/gkmQFz3VWqNA=";
16 sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
19 nativeBuildInputs = [ cmake ];
21 propagatedBuildInputs = [ sip4 ];
23 disabled = pythonOlder "3.4.0";
26 description = "C++ implementation of 3mf loading with SIP python bindings";
27 homepage = "https://github.com/Ultimaker/libSavitar";
28 license = licenses.lgpl3Plus;
29 platforms = platforms.unix;
30 maintainers = with maintainers; [ abbradar orivej gebner ];