1 { lib, stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf, fetchpatch }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-dx0Q6cuA66lG4nwR7quW5Tvs9sdxjdV4gtpxXirI4nY=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ libarcus stb protobuf ];
17 cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
19 # TODO already fixed in master, remove in next release
22 url = "https://github.com/Ultimaker/CuraEngine/commit/de60e86a6ea11cb7d121471b5dd192e5deac0f3d.patch";
23 hash = "sha256-/gT9yErIDDYAXvZ6vX5TGlwljy31K563+sqkm1UGljQ=";
24 includes = [ "src/utils/math.h" ];
29 description = "Powerful, fast and robust engine for processing 3D models into 3D printing instruction";
30 homepage = "https://github.com/Ultimaker/CuraEngine";
31 license = licenses.agpl3Only;
32 platforms = platforms.linux;
33 maintainers = with maintainers; [ abbradar gebner ];
34 mainProgram = "CuraEngine";