blob: 0c634c0f265c1bc5418285cf450e1152e31c835d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ 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" ];
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;
};
}
|