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

27 lines
733 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, libarcus }:
stdenv.mkDerivation rec {
2014-09-26 12:12:14 +02:00
name = "curaengine-${version}";
2018-06-07 11:55:47 +02:00
version = "3.3.0";
2014-03-25 23:17:17 +01:00
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
2018-06-07 11:55:47 +02:00
sha256 = "1dj80lk58qb54apdv7n9cmcck4smb00lidgqld21xnndnnqqb4lw";
2014-09-04 17:04:53 +02:00
};
2014-03-25 23:17:17 +01:00
nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus ];
2016-04-14 00:13:23 +02:00
2018-06-07 11:55:47 +02:00
cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
2014-03-25 23:17:17 +01:00
2014-09-04 17:04:53 +02: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 17:04:53 +02:00
license = licenses.agpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
2014-09-04 17:04:53 +02:00
};
2014-03-25 23:17:17 +01:00
}