2021-02-05 17:12:51 +00:00
|
|
|
{ fetchFromGitHub, lib, stdenv, boost, cmake, libX11, libGL, libGLU }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "coin";
|
2020-12-09 12:39:15 +00:00
|
|
|
version = "2020-12-07-unstable";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coin3d";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "coin";
|
2020-12-09 12:39:15 +00:00
|
|
|
# rev = "Coin-${version}";
|
|
|
|
rev = "d5539998aff272b349590fe74d068659682ecd0d";
|
|
|
|
sha256 = "11jaz8p9nn8jpd6dsgwgkldwr7z829gyf64g014qyyh8l6p7jzzd";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i /cpack.d/d CMakeLists.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-12-09 12:39:15 +00:00
|
|
|
buildInputs = [ boost libX11 libGL libGLU ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://github.com/coin3d/coin";
|
|
|
|
license = licenses.bsd3;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "High-level, retained-mode toolkit for effective 3D graphics development";
|
2020-10-07 09:15:18 +00:00
|
|
|
maintainers = with maintainers; [ gebner viric ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|