blob: 85b0b1c8a0e5b07f0c29dd3c4e696d40ef18792d (
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
33
34
35
36
37
38
39
|
{ lib
, stdenv
, fetchFromGitHub
, cmake
, boost
, libxmlxx
, pkg-config
, zlib
}:
stdenv.mkDerivation rec {
pname = "ciftilib";
version = "1.6.0";
src = fetchFromGitHub {
owner = "Washington-University";
repo = "CiftiLib";
rev = "v${version}";
hash = "sha256-xc2dpMse4SozYEV/w3rXCrh1LKpTThq5nHB2y5uAD0A=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ boost libxmlxx zlib ];
cmakeFlags = [ "-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;'big|datatype-md5'" ];
# error: no member named 'file_string' in 'boost::filesystem::path'
env.NIX_CFLAGS_COMPILE = "-UCIFTILIB_BOOST_NO_FSV3";
doCheck = true;
meta = with lib; {
homepage = "https://github.com/Washington-University/CiftiLib";
description = "Library for reading and writing CIFTI files";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.bsd2;
};
}
|