summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/curaengine/default.nix
diff options
context:
space:
mode:
authorAndrew Childs <lorne@cons.org.nz>2018-08-31 23:10:37 +0900
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-31 16:10:37 +0200
commit98787edf30015f680c54a5f23208703327d737db (patch)
tree8fdd8d03596216414deeac6643bd19ded10a64fd /pkgs/applications/misc/curaengine/default.nix
parent51680c6560ec3f777bf5e4f921dedd3f5bd4b8a4 (diff)
curaengine: patch for compatibility with cmake 3.12 (#45869)
Diffstat (limited to 'pkgs/applications/misc/curaengine/default.nix')
-rw-r--r--pkgs/applications/misc/curaengine/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/misc/curaengine/default.nix b/pkgs/applications/misc/curaengine/default.nix
index ba9a98c616b3..75d1936ba857 100644
--- a/pkgs/applications/misc/curaengine/default.nix
+++ b/pkgs/applications/misc/curaengine/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, libarcus, stb }:
+{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb }:
stdenv.mkDerivation rec {
name = "curaengine-${version}";
@@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "083jmhzmb60rmqw0fhbnlxyblzkmpn3k6zc75xq90x5g3h60wib4";
};
+ patches = [
+ # Fixed upstream, but not yet released
+ (fetchpatch {
+ url = "https://github.com/Ultimaker/CuraEngine/commit/5aad55bf67e52ce5bdb27a3925af8a4cab441b38.patch";
+ sha256 = "1hxbslzhkvdg8p33mvlbrpw62gwfqpsdbfca6yhdng9hifl86j3f";
+ })
+ ];
+
nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus stb ];