2019-06-16 19:59:06 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }:
|
2017-02-26 01:05:04 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "curaengine";
|
2020-05-04 17:02:54 +00:00
|
|
|
version = "4.6.1";
|
2014-03-25 23:17:17 +01:00
|
|
|
|
2017-02-26 01:05:04 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ultimaker";
|
|
|
|
repo = "CuraEngine";
|
|
|
|
rev = version;
|
2020-05-04 17:02:54 +00:00
|
|
|
sha256 = "1fr151hmdg2lhk9pbpan1hb1pafj784nijr4pz646ljmjh12vfk2";
|
2014-09-04 17:04:53 +02:00
|
|
|
};
|
2014-03-25 23:17:17 +01:00
|
|
|
|
2017-02-26 01:05:04 +03:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2019-03-02 17:04:09 +02:00
|
|
|
buildInputs = [ libarcus stb protobuf ];
|
2016-04-14 01:13:23 +03:00
|
|
|
|
2018-06-07 11:55:47 +02:00
|
|
|
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
|
2014-03-25 23:17:17 +01:00
|
|
|
|
2014-09-04 17:04:53 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-02-26 01:05:04 +03:00
|
|
|
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
|
2020-03-09 23:45:37 +01:00
|
|
|
homepage = "https://github.com/Ultimaker/CuraEngine";
|
2014-09-04 17:04:53 +02:00
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.linux;
|
2019-08-08 09:09:25 +02:00
|
|
|
maintainers = with maintainers; [ abbradar gebner ];
|
2014-09-04 17:04:53 +02:00
|
|
|
};
|
2014-03-25 23:17:17 +01:00
|
|
|
}
|