26 lines
664 B
Nix
26 lines
664 B
Nix
{ stdenv, fetchurl }:
|
|
let
|
|
version = "15.02.1";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "curaengine-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz";
|
|
sha256 = "18fxh910b66s45757zqh8bm5kdxjgvxispjqknqkwl1nrllzmx53";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp build/CuraEngine $out/bin/
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|