mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
mrtrix: 3.0.2 -> unstable-2021-11-25
The latest stable version fails to build with latest eigen (> 3). https://github.com/MRtrix3/mrtrix3/pull/2368
This commit is contained in:
parent
ac72629607
commit
b1d95dca56
1 changed files with 7 additions and 4 deletions
|
@ -1,17 +1,17 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, python, makeWrapper
|
{ stdenv, lib, fetchFromGitHub, python, makeWrapper
|
||||||
, eigen, fftw, libtiff, libpng, zlib, ants, bc
|
, eigen, fftw, libtiff, libpng, zlib, ants, bc
|
||||||
, qt5, libGL, libGLU, libX11, libXext
|
, qt5, libGL, libGLU, libX11, libXext
|
||||||
, withGui ? true }:
|
, withGui ? true, less }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mrtrix";
|
pname = "mrtrix";
|
||||||
version = "3.0.2";
|
version = "unstable-2021-11-25";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MRtrix3";
|
owner = "MRtrix3";
|
||||||
repo = "mrtrix3";
|
repo = "mrtrix3";
|
||||||
rev = version;
|
rev = "994498557037c9e4f7ba67f255820ef84ea899d9";
|
||||||
sha256 = "0p4d1230j6664rnb9l65cpyfj9ncbcm39yv1r9y77br9rkkv1za3";
|
sha256 = "sha256-8eFDS5z4ZxMzi9Khk90KAS4ndma/Syd6JDXM2Fpr0M8=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -44,6 +44,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
substituteInPlace ./run_tests \
|
substituteInPlace ./run_tests \
|
||||||
--replace 'git submodule update --init $datadir >> $LOGFILE 2>&1' ""
|
--replace 'git submodule update --init $datadir >> $LOGFILE 2>&1' ""
|
||||||
|
|
||||||
|
substituteInPlace ./build \
|
||||||
|
--replace '"less -RX "' '"${less}/bin/less -RX "'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
|
Loading…
Reference in a new issue