nixpkgs/pkgs/applications/misc/curaengine/default.nix
2018-06-10 10:17:27 +02:00

27 lines
733 B
Nix

{ stdenv, fetchFromGitHub, cmake, libarcus }:
stdenv.mkDerivation rec {
name = "curaengine-${version}";
version = "3.3.0";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
sha256 = "1dj80lk58qb54apdv7n9cmcck4smb00lidgqld21xnndnnqqb4lw";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus ];
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 ];
};
}