nixpkgs/pkgs/applications/misc/curaengine/default.nix

27 lines
758 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }:
stdenv.mkDerivation rec {
pname = "curaengine";
version = "4.4.0";
2014-03-25 22:17:17 +00:00
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
sha256 = "1m89bp4g0dldh7vv1clj110m29ajiaghdq7b49mb3y8ifgrf8rdi";
2014-09-04 15:04:53 +00:00
};
2014-03-25 22:17:17 +00:00
nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus stb protobuf ];
2016-04-13 22:13:23 +00:00
2018-06-07 09:55:47 +00:00
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
2014-03-25 22:17:17 +00:00
2014-09-04 15:04:53 +00:00
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;
2014-09-04 15:04:53 +00:00
license = licenses.agpl3;
platforms = platforms.linux;
2019-08-08 07:09:25 +00:00
maintainers = with maintainers; [ abbradar gebner ];
2014-09-04 15:04:53 +00:00
};
2014-03-25 22:17:17 +00:00
}