about summary refs log tree commit diff
path: root/pkgs/development/libraries/coin3d
diff options
context:
space:
mode:
authorAndersonTorres2022-08-07 00:09:47 -0300
committerAndersonTorres2022-08-07 00:09:47 -0300
commitfe91f1a64a80671e34ee9f4b9ec8ad7c5254af62 (patch)
tree0d5eed46f73747414bab0c9fa095f40ce3f2798f /pkgs/development/libraries/coin3d
parent7d455f2280bfb5d6e2a4525dc0aecaf5d0a44536 (diff)
coin3d: 2020-12-07 -> 2022-97-27
Diffstat (limited to 'pkgs/development/libraries/coin3d')
-rw-r--r--pkgs/development/libraries/coin3d/default.nix37
1 files changed, 24 insertions, 13 deletions
diff --git a/pkgs/development/libraries/coin3d/default.nix b/pkgs/development/libraries/coin3d/default.nix
index 3fe78e6d02e9..7675ddae378e 100644
--- a/pkgs/development/libraries/coin3d/default.nix
+++ b/pkgs/development/libraries/coin3d/default.nix
@@ -1,29 +1,40 @@
-{ fetchFromGitHub, lib, stdenv, boost, cmake, libX11, libGL, libGLU }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, boost
+, cmake
+, libGL
+, libGLU
+, libX11
+}:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (finalAttrs: {
   pname = "coin";
-  version = "2020-12-07-unstable";
+  version = "unstable-2022-07-27";
 
   src = fetchFromGitHub {
     owner = "coin3d";
     repo = "coin";
-    # rev = "Coin-${version}";
-    rev = "d5539998aff272b349590fe74d068659682ecd0d";
-    sha256 = "11jaz8p9nn8jpd6dsgwgkldwr7z829gyf64g014qyyh8l6p7jzzd";
+    rev = "4c67945a58d2a6e5adb4d2332ab08007769130ef";
+    hash = "sha256-lXS7GxtoPsZe2SJfr0uY99Q0ZtYG0KFlauY1PBuFleo=";
   };
 
-  postPatch = ''
-    sed -i /cpack.d/d CMakeLists.txt
-  '';
-
   nativeBuildInputs = [ cmake ];
-  buildInputs = [ boost libX11 libGL libGLU ];
+
+  buildInputs = [
+    boost
+    libGL
+    libGLU
+    libX11
+  ];
+
+  cmakeFlags = [ "-DCOIN_USE_CPACK=OFF" ];
 
   meta = with lib; {
     homepage = "https://github.com/coin3d/coin";
-    license = licenses.bsd3;
     description = "High-level, retained-mode toolkit for effective 3D graphics development";
+    license = licenses.bsd3;
     maintainers = with maintainers; [ gebner viric ];
     platforms = platforms.linux;
   };
-}
+})