mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
27 lines
760 B
Nix
27 lines
760 B
Nix
{ stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "curaengine";
|
|
version = "4.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Ultimaker";
|
|
repo = "CuraEngine";
|
|
rev = version;
|
|
sha256 = "1fr151hmdg2lhk9pbpan1hb1pafj784nijr4pz646ljmjh12vfk2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|