nixpkgs/pkgs/applications/misc/curaengine/default.nix
Felix Buehler 9812836f38 {cura,curaengine}: 4.10.0 -> 4.12.1,
{libnest2d,libarcus,libsavitar,pynest2d,uranium}: 4.10.0 -> 4.12.0
2021-12-14 16:22:07 +01:00

26 lines
762 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }:
stdenv.mkDerivation rec {
pname = "curaengine";
version = "4.12.1";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
sha256 = "sha256-+sjysxOaNLq6p3yCoB1qKosBO5Cg2/1o7xmUtZ15wkE=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus stb protobuf ];
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
meta = with lib; {
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
homepage = "https://github.com/Ultimaker/CuraEngine";
license = licenses.agpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar gebner ];
};
}