2018-08-31 15:10:37 +01:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb }:
|
2017-02-25 22:05:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-26 11:12:14 +01:00
|
|
|
name = "curaengine-${version}";
|
2018-12-27 02:19:24 +00:00
|
|
|
version = "3.6.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;
|
2018-12-27 02:19:24 +00:00
|
|
|
sha256 = "1iwmblvs3qw57698i8bbazyxha18bj9irnkcscdb0596g8q93fcm";
|
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 ];
|
2018-07-14 21:53:57 +01:00
|
|
|
buildInputs = [ libarcus stb ];
|
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
|
|
|
}
|