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

29 lines
724 B
Nix
Raw Normal View History

2020-09-26 11:52:23 +01:00
{ fetchFromGitHub, stdenv, boost, cmake, libGL, libGLU }:
2020-09-26 11:52:23 +01:00
stdenv.mkDerivation rec {
2019-06-15 17:43:52 +01:00
pname = "coin";
2020-09-26 11:52:23 +01:00
version = "4.0.0";
2020-09-26 11:52:23 +01:00
src = fetchFromGitHub {
owner = "coin3d";
2019-06-15 17:43:52 +01:00
repo = "coin";
2020-09-26 11:52:23 +01:00
rev = "Coin-${version}";
sha256 = "1ayg0hl8wanhadahm5xbghghxw1qjwqbrs3dl3ngnff027hsyf8p";
};
2019-06-15 17:43:52 +01:00
postPatch = ''
sed -i /cpack.d/d CMakeLists.txt
'';
2013-08-27 10:38:20 +01:00
2019-06-15 17:43:52 +01:00
nativeBuildInputs = [ cmake ];
2019-11-07 16:32:59 +00:00
buildInputs = [ boost libGL libGLU ];
2020-09-26 11:52:23 +01: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 11:52:23 +01:00
maintainers = with maintainers; [ gebner viric ];
platforms = platforms.linux;
};
}