2021-01-21 17:00:13 +00:00
|
|
|
{ fetchFromGitHub, lib, stdenv, boost, cmake, libX11, libGL, libGLU }:
|
2011-03-02 17:18:20 +00:00
|
|
|
|
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";
|
2011-03-02 17:18:20 +00:00
|
|
|
|
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";
|
2011-03-02 17:18:20 +00:00
|
|
|
};
|
|
|
|
|
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 ];
|
2011-03-02 17:18:20 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-09-26 10:52:23 +00:00
|
|
|
homepage = "https://github.com/coin3d/coin";
|
|
|
|
license = licenses.bsd3;
|
2013-10-06 09:49:53 +00:00
|
|
|
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;
|
2011-03-02 17:18:20 +00:00
|
|
|
};
|
|
|
|
}
|