mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
887295fd2d
@the-kenny did a good job in the past and is set as maintainer in many package, however since 2017-2018 he stopped contributing. To create less confusion in pull requests when people try to request his feedback, I removed him as maintainer from all packages.
30 lines
673 B
Nix
30 lines
673 B
Nix
{ stdenv, fetchurl }:
|
|
let
|
|
version = "15.04.6";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "curaengine";
|
|
inherit version;
|
|
|
|
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";
|
|
homepage = "https://github.com/Ultimaker/CuraEngine";
|
|
license = licenses.agpl3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|