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