3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/curaengine/stable.nix
Jörg Thalheim 887295fd2d
treewide: remove the-kenny from maintainers
@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.
2020-05-09 10:28:57 +01:00

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;
};
}