mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
50c8701d51
Closes #74134. Note the `cura.materials` hash is not updated because apparently its contents stay the same, despite version update. Implements comment about libarcus from: https://github.com/NixOS/nixpkgs/pull/69435#issuecomment-535465040
27 lines
758 B
Nix
27 lines
758 B
Nix
{ stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "curaengine";
|
|
version = "4.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Ultimaker";
|
|
repo = "CuraEngine";
|
|
rev = version;
|
|
sha256 = "1m89bp4g0dldh7vv1clj110m29ajiaghdq7b49mb3y8ifgrf8rdi";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libarcus stb protobuf ];
|
|
|
|
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
|
|
homepage = https://github.com/Ultimaker/CuraEngine;
|
|
license = licenses.agpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ abbradar gebner ];
|
|
};
|
|
}
|