2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }:
|
2017-02-25 22:05:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "curaengine";
|
2021-07-03 04:44:42 +01:00
|
|
|
version = "4.10.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;
|
2021-07-03 04:44:42 +01:00
|
|
|
sha256 = "sha256-t5i6s0KKcaoMqzDxZ6JL1NyKP33uxWdmyziK3xh8q88=";
|
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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-02-25 22:05:04 +00:00
|
|
|
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
|
2020-03-09 22:45:37 +00:00
|
|
|
homepage = "https://github.com/Ultimaker/CuraEngine";
|
2021-04-24 15:06:04 +01:00
|
|
|
license = licenses.agpl3Only;
|
2014-09-04 16:04:53 +01:00
|
|
|
platforms = platforms.linux;
|
2019-08-08 08:09:25 +01:00
|
|
|
maintainers = with maintainers; [ abbradar gebner ];
|
2014-09-04 16:04:53 +01:00
|
|
|
};
|
2014-03-25 22:17:17 +00:00
|
|
|
}
|