Files
nixpkgs/pkgs/by-name/co/coin3d/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
834 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
boost,
cmake,
libGL,
libGLU,
libX11,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "coin";
version = "4.0.5";
src = fetchFromGitHub {
owner = "coin3d";
repo = "coin";
rev = "v${finalAttrs.version}";
hash = "sha256-2lfy33Qx0AjKDfwwRn7hjaz7mPQsr7MRB9v75qshGjM=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
boost
libGL
libGLU
]
++ lib.optional stdenv.hostPlatform.isLinux libX11;
cmakeFlags = [ "-DCOIN_USE_CPACK=OFF" ];
meta = with lib; {
homepage = "https://github.com/coin3d/coin";
description = "High-level, retained-mode toolkit for effective 3D graphics development";
mainProgram = "coin-config";
license = licenses.bsd3;
maintainers = [ ];
platforms = platforms.linux ++ platforms.darwin;
};
})