summary refs log tree commit diff
path: root/pkgs/development/libraries/coin3d/default.nix
blob: 634ac27058bb998be886edeed464e6342053027f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ fetchFromBitbucket, stdenv, boost, cmake, libGL, libGLU }:

stdenv.mkDerivation {
  pname = "coin";
  version = "unstable-2019-06-12";

  src = fetchFromBitbucket {
    owner = "Coin3D";
    repo = "coin";
    rev = "8d860d7ba112b22c4e9b289268fd8b3625ab81d3";
    sha256 = "1cpncljqvw28k5wvpgchv593nayhby5gwpvbnyllc9hb9ms816xn";
  };

  postPatch = ''
    sed -i /cpack.d/d CMakeLists.txt
  '';

  nativeBuildInputs = [ cmake ];
  buildInputs = [ boost libGL libGLU ];

  meta = {
    homepage = "https://bitbucket.org/Coin3D/coin/wiki/Home";
    license = stdenv.lib.licenses.gpl2Plus;
    description = "High-level, retained-mode toolkit for effective 3D graphics development";
    maintainers = [ stdenv.lib.maintainers.viric ];
    platforms = stdenv.lib.platforms.linux;
  };
}