mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
bicpl: init at 2017-09-10
This commit is contained in:
parent
c14342d44f
commit
c9db4cabc8
33
pkgs/development/libraries/science/biology/bicpl/default.nix
Normal file
33
pkgs/development/libraries/science/biology/bicpl/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, libminc, netpbm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bicpl";
|
||||
name = "${pname}-2017-09-10";
|
||||
|
||||
owner = "BIC-MNI";
|
||||
|
||||
# current master is significantly ahead of most recent release, so use Git version:
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = pname;
|
||||
rev = "612a63e740fadb162fcf27ee00da6a18dec4d5a9";
|
||||
sha256 = "1vv9gi184bkvp3f99v9xmmw1ly63ip5b09y7zdjn39g7kmwzrga7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libminc netpbm ];
|
||||
|
||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBUILD_TESTING=FALSE" ];
|
||||
|
||||
checkPhase = "ctest --output-on-failure";
|
||||
doCheck = false;
|
||||
# internal_volume_io.h: No such file or directory
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/${owner}/${pname}";
|
||||
description = "Brain Imaging Centre programming library";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.free;
|
||||
};
|
||||
}
|
@ -8469,6 +8469,8 @@ with pkgs;
|
||||
|
||||
libopcodes = callPackage ../development/libraries/libopcodes { };
|
||||
|
||||
bicpl = callPackage ../development/libraries/science/biology/bicpl { };
|
||||
|
||||
# TODO(@Ericson2314): Build bionic libc from source
|
||||
bionic = assert hostPlatform.useAndroidPrebuilt;
|
||||
androidenv.androidndkPkgs.libraries;
|
||||
|
Loading…
Reference in New Issue
Block a user