2017-02-25 22:05:04 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
|
|
version = "15.04.6";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "curaengine";
|
|
|
|
inherit version;
|
2017-02-25 22:05:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz";
|
|
|
|
sha256 = "1cd4dikzvqyj5g80rqwymvh4nwm76vsf78clb37kj6q0fig3qbjg";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i 's,--static,,g' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp build/CuraEngine $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Engine for processing 3D models into 3D printing instructions";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Ultimaker/CuraEngine";
|
2017-02-25 22:05:04 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|