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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
807 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, stdenv, boost, cmake, libX11, libGL, libGLU }:
2020-09-26 12:52:23 +02:00
stdenv.mkDerivation rec {
2019-06-15 18:43:52 +02:00
pname = "coin";
2020-12-08 16:29:06 +01:00
version = "2020-12-07-unstable";
2020-09-26 12:52:23 +02:00
src = fetchFromGitHub {
owner = "coin3d";
2019-06-15 18:43:52 +02:00
repo = "coin";
2020-12-08 16:29:06 +01:00
# rev = "Coin-${version}";
rev = "d5539998aff272b349590fe74d068659682ecd0d";
sha256 = "11jaz8p9nn8jpd6dsgwgkldwr7z829gyf64g014qyyh8l6p7jzzd";
};
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 ];
2020-12-08 16:29:06 +01:00
buildInputs = [ boost libX11 libGL libGLU ];
meta = with lib; {
2020-09-26 12:52:23 +02:00
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;
};
}