2014-09-04 17:04:53 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
|
|
version = "14.03";
|
|
|
|
in
|
2014-03-25 23:17:17 +01:00
|
|
|
stdenv.mkDerivation {
|
2014-09-26 12:12:14 +02:00
|
|
|
name = "curaengine-${version}";
|
2014-03-25 23:17:17 +01:00
|
|
|
|
2014-09-04 17:04:53 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0f37jk6w3zd9x29c1rydqmfdzybx9nbmwdi3y3nzynq1vq7zmxcc";
|
|
|
|
};
|
2014-03-25 23:17:17 +01:00
|
|
|
|
2014-09-04 17:04:53 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp CuraEngine $out/bin/
|
|
|
|
'';
|
2014-03-25 23:17:17 +01:00
|
|
|
|
2014-09-04 17:04:53 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Engine for processing 3D models into 3D printing instructions";
|
|
|
|
homepage = https://github.com/Ultimaker/CuraEngine;
|
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
|
|
|
};
|
2014-03-25 23:17:17 +01:00
|
|
|
}
|