mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #185506 from AndersonTorres/coin3d
coin3d: 2020-12-07 -> 2022-97-27
This commit is contained in:
commit
4bdf4169ad
@ -1,29 +1,40 @@
|
||||
{ fetchFromGitHub, lib, stdenv, boost, cmake, libX11, libGL, libGLU }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, boost
|
||||
, cmake
|
||||
, libGL
|
||||
, libGLU
|
||||
, libX11
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "coin";
|
||||
version = "2020-12-07-unstable";
|
||||
version = "unstable-2022-07-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coin3d";
|
||||
repo = "coin";
|
||||
# rev = "Coin-${version}";
|
||||
rev = "d5539998aff272b349590fe74d068659682ecd0d";
|
||||
sha256 = "11jaz8p9nn8jpd6dsgwgkldwr7z829gyf64g014qyyh8l6p7jzzd";
|
||||
rev = "4c67945a58d2a6e5adb4d2332ab08007769130ef";
|
||||
hash = "sha256-lXS7GxtoPsZe2SJfr0uY99Q0ZtYG0KFlauY1PBuFleo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i /cpack.d/d CMakeLists.txt
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost libX11 libGL libGLU ];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
libGL
|
||||
libGLU
|
||||
libX11
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DCOIN_USE_CPACK=OFF" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/coin3d/coin";
|
||||
license = licenses.bsd3;
|
||||
description = "High-level, retained-mode toolkit for effective 3D graphics development";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ gebner viric ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user