nixpkgs/pkgs/development/libraries/coin3d/default.nix

29 lines
724 B
Nix
Raw Normal View History

2020-09-26 12:52:23 +02:00
{ fetchFromGitHub, stdenv, boost, cmake, libGL, libGLU }:
2020-09-26 12:52:23 +02:00
stdenv.mkDerivation rec {
2019-06-15 18:43:52 +02:00
pname = "coin";
2020-09-26 12:52:23 +02:00
version = "4.0.0";
2020-09-26 12:52:23 +02:00
src = fetchFromGitHub {
owner = "coin3d";
2019-06-15 18:43:52 +02:00
repo = "coin";
2020-09-26 12:52:23 +02:00
rev = "Coin-${version}";
sha256 = "1ayg0hl8wanhadahm5xbghghxw1qjwqbrs3dl3ngnff027hsyf8p";
};
2019-06-15 18:43:52 +02:00
postPatch = ''
sed -i /cpack.d/d CMakeLists.txt
'';
2013-08-27 11:38:20 +02:00
2019-06-15 18:43:52 +02:00
nativeBuildInputs = [ cmake ];
2019-11-07 17:32:59 +01:00
buildInputs = [ boost libGL libGLU ];
2020-09-26 12:52:23 +02:00
meta = with stdenv.lib; {
homepage = "https://github.com/coin3d/coin";
license = licenses.bsd3;
description = "High-level, retained-mode toolkit for effective 3D graphics development";
2020-09-26 12:52:23 +02:00
maintainers = with maintainers; [ gebner viric ];
platforms = platforms.linux;
};
}