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
46 lines
838 B
Nix
46 lines
838 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libminc,
|
|
bicpl,
|
|
libGLU,
|
|
libglut,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bicgl";
|
|
version = "unstable-2018-04-06";
|
|
|
|
owner = "BIC-MNI";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit owner;
|
|
repo = "bicgl";
|
|
rev = "61a035751c9244fcca1edf94d6566fa2a709ce90";
|
|
sha256 = "0lzirdi1mf4yl8srq7vjn746sbydz7h0wjh7wy8gycy6hq04qrg4";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
libminc
|
|
bicpl
|
|
libGLU
|
|
libglut
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DLIBMINC_DIR=${libminc}/lib/cmake"
|
|
"-DBICPL_DIR=${bicpl}/lib"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/${owner}/bicgl";
|
|
description = "Brain Imaging Centre graphics library";
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
platforms = platforms.unix;
|
|
license = licenses.hpndUc;
|
|
};
|
|
}
|