2019-03-02 15:04:09 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb, protobuf }:
|
2017-02-25 22:05:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-26 11:12:14 +01:00
|
|
|
name = "curaengine-${version}";
|
2019-06-01 10:19:39 +01:00
|
|
|
version = "4.1.0";
|
2014-03-25 22:17:17 +00:00
|
|
|
|
2017-02-25 22:05:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ultimaker";
|
|
|
|
repo = "CuraEngine";
|
|
|
|
rev = version;
|
2019-06-01 10:19:39 +01:00
|
|
|
sha256 = "14zy9ir46vndsi4l8kapm6byw02fimm7ava2rfi0kvcckf5yq9w8";
|
2014-09-04 16:04:53 +01:00
|
|
|
};
|
2014-03-25 22:17:17 +00:00
|
|
|
|
2017-02-25 22:05:04 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2019-03-02 15:04:09 +00:00
|
|
|
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; {
|
2017-02-25 22:05:04 +00:00
|
|
|
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
|
2018-02-25 16:47:45 +00:00
|
|
|
homepage = https://github.com/Ultimaker/CuraEngine;
|
2014-09-04 16:04:53 +01:00
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.linux;
|
2017-02-25 22:05:04 +00:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2014-09-04 16:04:53 +01:00
|
|
|
};
|
2014-03-25 22:17:17 +00:00
|
|
|
}
|