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

27 lines
773 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb, protobuf }:
stdenv.mkDerivation rec {
2014-09-26 11:12:14 +01:00
name = "curaengine-${version}";
version = "4.0.0";
2014-03-25 22:17:17 +00:00
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
sha256 = "0p4zcckrlrpyp5xdqgvp0phmawyh4cy8vipim9fvgsfcin4vhrv7";
2014-09-04 16:04:53 +01:00
};
2014-03-25 22:17:17 +00:00
nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus stb protobuf ];
2016-04-13 23:13:23 +01:00
2018-06-07 10:55:47 +01:00
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
2014-03-25 22:17:17 +00:00
2014-09-04 16:04:53 +01: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 16:04:53 +01:00
license = licenses.agpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
2014-09-04 16:04:53 +01:00
};
2014-03-25 22:17:17 +00:00
}