about summary refs log tree commit diff
path: root/pkgs/development/libraries/arguments/default.nix
blob: 912ea53c3d3ac8e321bd6eb7b0f6ed42ed372270 (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, bicpl }:

stdenv.mkDerivation rec {
  pname = "arguments";
  name  = "${pname}-2015-11-30";

  owner = "BIC-MNI";

  src = fetchFromGitHub {
    inherit owner;
    repo   = pname;
    rev    = "b3aad97f6b6892cb8733455d0d448649a48fa108";
    sha256 = "1ar8lm1w1jflz3vdmjr5c4x6y7rscvrj78b8gmrv79y95qrgzv6s";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ ];

  #cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/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 = "Library for argument handling for MINC programs";
    maintainers = with maintainers; [ bcdarwin ];
    platforms = platforms.unix;
    license   = licenses.free;
  };
}