depot/third_party/nixpkgs/pkgs/development/libraries/coin3d/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

28 lines
724 B
Nix

{ fetchFromGitHub, stdenv, boost, cmake, libGL, libGLU }:
stdenv.mkDerivation rec {
pname = "coin";
version = "4.0.0";
src = fetchFromGitHub {
owner = "coin3d";
repo = "coin";
rev = "Coin-${version}";
sha256 = "1ayg0hl8wanhadahm5xbghghxw1qjwqbrs3dl3ngnff027hsyf8p";
};
postPatch = ''
sed -i /cpack.d/d CMakeLists.txt
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ boost libGL libGLU ];
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 = with maintainers; [ gebner viric ];
platforms = platforms.linux;
};
}