nixpkgs/pkgs/applications/misc/curaengine/default.nix

26 lines
664 B
Nix
Raw Normal View History

2014-09-04 08:04:53 -07:00
{ stdenv, fetchurl }:
let
2015-01-19 06:47:58 -08:00
version = "14.12.1";
2014-09-04 08:04:53 -07:00
in
2014-03-25 15:17:17 -07:00
stdenv.mkDerivation {
2014-09-26 03:12:14 -07:00
name = "curaengine-${version}";
2014-03-25 15:17:17 -07:00
2014-09-04 08:04:53 -07:00
src = fetchurl {
url = "https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz";
2015-01-19 06:47:58 -08:00
sha256 = "1cfns71mjndy2dlmccmjx8ldd0p5v88sqg0jg6ak5c864cvgbjdr";
2014-09-04 08:04:53 -07:00
};
2014-03-25 15:17:17 -07:00
2014-09-04 08:04:53 -07:00
installPhase = ''
mkdir -p $out/bin
2015-01-19 06:47:58 -08:00
cp build/CuraEngine $out/bin/
2014-09-04 08:04:53 -07:00
'';
2014-03-25 15:17:17 -07:00
2014-09-04 08:04:53 -07: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 15:17:17 -07:00
}