summary refs log tree commit diff
path: root/pkgs/development/libraries/coin3d
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2020-09-26 12:52:23 +0200
committerGabriel Ebner <gebner@gebner.org>2020-09-26 13:49:42 +0200
commit11dd6f4584da61c336c83b046aab54b5f8b59398 (patch)
tree6750fc7bb8d16049e73fff931ae496cbd126f865 /pkgs/development/libraries/coin3d
parent22301b66cd7aef888f46cdaa4dfe5042a06fcb38 (diff)
downloadnixpkgs-11dd6f4584da61c336c83b046aab54b5f8b59398.tar
nixpkgs-11dd6f4584da61c336c83b046aab54b5f8b59398.tar.gz
nixpkgs-11dd6f4584da61c336c83b046aab54b5f8b59398.tar.bz2
nixpkgs-11dd6f4584da61c336c83b046aab54b5f8b59398.tar.lz
nixpkgs-11dd6f4584da61c336c83b046aab54b5f8b59398.tar.xz
nixpkgs-11dd6f4584da61c336c83b046aab54b5f8b59398.tar.zst
nixpkgs-11dd6f4584da61c336c83b046aab54b5f8b59398.zip
coin3d: unstable-2019-06-12 -> 4.0.0
Diffstat (limited to 'pkgs/development/libraries/coin3d')
-rw-r--r--pkgs/development/libraries/coin3d/default.nix24
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/development/libraries/coin3d/default.nix b/pkgs/development/libraries/coin3d/default.nix
index 634ac27058b..7fd67637253 100644
--- a/pkgs/development/libraries/coin3d/default.nix
+++ b/pkgs/development/libraries/coin3d/default.nix
@@ -1,14 +1,14 @@
-{ fetchFromBitbucket, stdenv, boost, cmake, libGL, libGLU }:
+{ fetchFromGitHub, stdenv, boost, cmake, libGL, libGLU }:
 
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   pname = "coin";
-  version = "unstable-2019-06-12";
+  version = "4.0.0";
 
-  src = fetchFromBitbucket {
-    owner = "Coin3D";
+  src = fetchFromGitHub {
+    owner = "coin3d";
     repo = "coin";
-    rev = "8d860d7ba112b22c4e9b289268fd8b3625ab81d3";
-    sha256 = "1cpncljqvw28k5wvpgchv593nayhby5gwpvbnyllc9hb9ms816xn";
+    rev = "Coin-${version}";
+    sha256 = "1ayg0hl8wanhadahm5xbghghxw1qjwqbrs3dl3ngnff027hsyf8p";
   };
 
   postPatch = ''
@@ -18,11 +18,11 @@ stdenv.mkDerivation {
   nativeBuildInputs = [ cmake ];
   buildInputs = [ boost libGL libGLU ];
 
-  meta = {
-    homepage = "https://bitbucket.org/Coin3D/coin/wiki/Home";
-    license = stdenv.lib.licenses.gpl2Plus;
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/coin3d/coin";
+    license = licenses.bsd3;
     description = "High-level, retained-mode toolkit for effective 3D graphics development";
-    maintainers = [ stdenv.lib.maintainers.viric ];
-    platforms = stdenv.lib.platforms.linux;
+    maintainers = with maintainers; [ gebner viric ];
+    platforms = platforms.linux;
   };
 }