Files
2026-06-15 21:58:03 -07:00

35 lines
732 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "curaengine";
version = "15.04.6";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
tag = finalAttrs.version;
hash = "sha256-8V21TRSqCN+hkTlz51d5A5oK5JOwEtx+ROt8cfJBL/0=";
};
postPatch = ''
substituteInPlace Makefile --replace "--static" ""
'';
installPhase = ''
mkdir -p $out/bin
cp build/CuraEngine $out/bin/
'';
meta = {
description = "Engine for processing 3D models into 3D printing instructions";
mainProgram = "CuraEngine";
homepage = "https://github.com/Ultimaker/CuraEngine";
license = lib.licenses.agpl3Plus;
platforms = lib.platforms.linux;
};
})