about summary refs log tree commit diff
path: root/pkgs/development/libraries/libminc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libminc/default.nix')
-rw-r--r--pkgs/development/libraries/libminc/default.nix48
1 files changed, 0 insertions, 48 deletions
diff --git a/pkgs/development/libraries/libminc/default.nix b/pkgs/development/libraries/libminc/default.nix
deleted file mode 100644
index 189d2b12e519..000000000000
--- a/pkgs/development/libraries/libminc/default.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, cmake, zlib, netcdf, nifticlib, hdf5 }:
-
-stdenv.mkDerivation (finalAttrs: {
-  pname   = "libminc";
-  version = "2.4.06";
-
-  src = fetchFromGitHub {
-    owner = "BIC-MNI";
-    repo = "libminc";
-    rev = "refs/tags/release-${finalAttrs.version}";
-    hash = "sha256-HTt3y0AFM9pkEkWPb9cDmvUz4iBQWfpX7wLF9Vlg8hc=";
-  };
-
-  postPatch = ''
-    patchShebangs .
-  '';
-
-  nativeBuildInputs = [ cmake ];
-  buildInputs = [
-    zlib
-    nifticlib
-  ];
-  propagatedBuildInputs = [
-    netcdf
-    hdf5
-  ];
-
-  cmakeFlags = [
-    "-DLIBMINC_MINC1_SUPPORT=ON"
-    "-DLIBMINC_BUILD_SHARED_LIBS=ON"
-    "-DLIBMINC_USE_NIFTI=ON"
-    "-DLIBMINC_USE_SYSTEM_NIFTI=ON"
-  ];
-
-  doCheck = !stdenv.isDarwin;
-    # -j1: see https://github.com/BIC-MNI/libminc/issues/110
-  checkPhase = ''
-    ctest -j1 --output-on-failure
-  '';
-
-  meta = with lib; {
-    homepage = "https://github.com/BIC-MNI/libminc";
-    description = "Medical imaging library based on HDF5";
-    maintainers = with maintainers; [ bcdarwin ];
-    platforms = platforms.unix;
-    license = licenses.free;
-  };
-})