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

27 lines
754 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb }:
stdenv.mkDerivation rec {
2014-09-26 10:12:14 +00:00
name = "curaengine-${version}";
2018-12-27 02:19:24 +00:00
version = "3.6.0";
2014-03-25 22:17:17 +00:00
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
2018-12-27 02:19:24 +00:00
sha256 = "1iwmblvs3qw57698i8bbazyxha18bj9irnkcscdb0596g8q93fcm";
2014-09-04 15:04:53 +00:00
};
2014-03-25 22:17:17 +00:00
nativeBuildInputs = [ cmake ];
2018-07-14 20:53:57 +00:00
buildInputs = [ libarcus stb ];
2016-04-13 22:13:23 +00:00
2018-06-07 09:55:47 +00:00
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
2014-03-25 22:17:17 +00:00
2014-09-04 15:04:53 +00:00
meta = with stdenv.lib; {
description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
homepage = https://github.com/Ultimaker/CuraEngine;
2014-09-04 15:04:53 +00:00
license = licenses.agpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
2014-09-04 15:04:53 +00:00
};
2014-03-25 22:17:17 +00:00
}