depot/third_party/nixpkgs/pkgs/development/libraries/coin3d/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
785 B
Nix

{ 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;
};
}