diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/curaengine/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/curaengine/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/curaengine/default.nix b/nixpkgs/pkgs/applications/misc/curaengine/default.nix new file mode 100644 index 000000000000..a7339acddee2 --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/curaengine/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }: + +stdenv.mkDerivation rec { + name = "curaengine-${version}"; + version = "4.1.0"; + + src = fetchFromGitHub { + owner = "Ultimaker"; + repo = "CuraEngine"; + rev = version; + sha256 = "14zy9ir46vndsi4l8kapm6byw02fimm7ava2rfi0kvcckf5yq9w8"; + }; + + 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 ]; + }; +} |