2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 22:53:42 +00:00
nixpkgs/pkgs/development/libraries/coin3d/default.nix

30 lines
807 B
Nix
Raw Normal View History

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