bicgl: init at 2017-09-10

This commit is contained in:
Ben Darwin 2018-05-09 14:05:29 -04:00
parent a9492eb70f
commit 7a64b0726a
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake, libminc, bicpl, freeglut, mesa_glu }:
stdenv.mkDerivation rec {
pname = "bicgl";
name = "${pname}-2017-09-10";
owner = "BIC-MNI";
src = fetchFromGitHub {
inherit owner;
repo = pname;
rev = "b7f7e52d1039d6202a93d9055f516186033656cc";
sha256 = "0lzirdi1mf4yl8srq7vjn746sbydz7h0wjh7wy8gycy6hq04qrg4";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libminc bicpl freeglut mesa_glu ];
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" ];
meta = with stdenv.lib; {
homepage = "https://github.com/${owner}/${pname}";
description = "Brain Imaging Centre graphics library";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
};
}

View File

@ -8561,6 +8561,8 @@ with pkgs;
bicpl = callPackage ../development/libraries/science/biology/bicpl { };
bicgl = callPackage ../development/libraries/science/biology/bicgl { };
# TODO(@Ericson2314): Build bionic libc from source
bionic = assert hostPlatform.useAndroidPrebuilt;
androidenv.androidndkPkgs.libraries;