mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
libminc: fix build after hdf5 upgrade by using hdf5_1_8
This commit is contained in:
parent
dd7738d13f
commit
1f99fd6965
@ -1,12 +1,14 @@
|
||||
{ stdenv, fetchurl, perl, cmake, flex, bison, libminc }:
|
||||
{ stdenv, fetchFromGitHub, perl, cmake, flex, bison, libminc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
_name = "minc-tools";
|
||||
name = "${_name}-2.3.00";
|
||||
name = "${pname}-2.3.00";
|
||||
pname = "minc-tools";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/BIC-MNI/${_name}/archive/${_name}-2-3-00.tar.gz";
|
||||
sha256 = "1d457vrwy2fl6ga2axnwn1cchkx2rmgixfzyb1zjxb06cxkfj1dm";
|
||||
src = fetchFromGitHub {
|
||||
owner = "BIC-MNI";
|
||||
repo = pname;
|
||||
rev = builtins.replaceStrings [ "." ] [ "-" ] name;
|
||||
sha256 = "0px5paprx4ds9aln3jdg1pywszgyz2aykgkdbj1y8gc1lwcizsl9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake flex bison ] ++ (if doCheck then [ perl ] else [ ]);
|
||||
@ -17,6 +19,8 @@ stdenv.mkDerivation rec {
|
||||
checkPhase = "ctest";
|
||||
doCheck = false;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/BIC-MNI/minc-tools;
|
||||
description = "Command-line utilities for working with MINC files";
|
||||
|
@ -1,12 +1,14 @@
|
||||
{ stdenv, fetchurl, cmake, zlib, netcdf, hdf5 }:
|
||||
{ stdenv, fetchFromGitHub, cmake, zlib, netcdf, hdf5 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
_name = "libminc";
|
||||
name = "${_name}-2.3.00";
|
||||
name = "${pname}-2.3.00";
|
||||
pname = "libminc";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/BIC-MNI/${_name}/archive/${_name}-2-3-00.tar.gz";
|
||||
sha256 = "04ngqx4wkssxs9qqcgq2bvfs1cldcycmpcx587wy3b3m6lwf004c";
|
||||
src = fetchFromGitHub {
|
||||
owner = "BIC-MNI";
|
||||
repo = pname;
|
||||
rev = builtins.replaceStrings [ "." ] [ "-" ] name;
|
||||
sha256 = "1gv1rq1q1brhglll2256cm6sns77ph6fvgbzk3ihkzq46y07yi9s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@ -18,6 +20,8 @@ stdenv.mkDerivation rec {
|
||||
checkPhase = "ctest";
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/BIC-MNI/libminc;
|
||||
description = "Medical imaging library based on HDF5";
|
||||
|
@ -105,6 +105,7 @@ mapAliases (rec {
|
||||
manpages = man-pages; # added 2015-12-06
|
||||
man_db = man-db; # added 2016-05
|
||||
midoriWrapper = midori; # added 2015-01
|
||||
minc_tools = minc-tools; # 2017-12
|
||||
mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
|
||||
module_init_tools = kmod; # added 2016-04-22
|
||||
mssys = ms-sys; # added 2015-12-13
|
||||
|
@ -9472,7 +9472,9 @@ with pkgs;
|
||||
|
||||
libmilter = callPackage ../development/libraries/libmilter { };
|
||||
|
||||
libminc = callPackage ../development/libraries/libminc { };
|
||||
libminc = callPackage ../development/libraries/libminc {
|
||||
hdf5 = hdf5_1_8;
|
||||
};
|
||||
|
||||
libmirage = callPackage ../misc/emulators/cdemu/libmirage.nix { };
|
||||
|
||||
@ -18597,7 +18599,7 @@ with pkgs;
|
||||
|
||||
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
||||
|
||||
minc_tools = callPackage ../applications/science/biology/minc-tools { };
|
||||
minc-tools = callPackage ../applications/science/biology/minc-tools { };
|
||||
|
||||
ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user