From 5bbcb4840bab905dff109f0bd4ee974cf010532b Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Wed, 6 Sep 2023 12:11:38 -0400 Subject: [PATCH] mrtrix: unstable-2021-11-25 -> 3.0.4 --- .../science/biology/mrtrix/default.nix | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/science/biology/mrtrix/default.nix b/pkgs/applications/science/biology/mrtrix/default.nix index 4cb130296aec..64eafa0f6968 100644 --- a/pkgs/applications/science/biology/mrtrix/default.nix +++ b/pkgs/applications/science/biology/mrtrix/default.nix @@ -1,17 +1,33 @@ -{ stdenv, lib, fetchFromGitHub, python, makeWrapper -, eigen, fftw, libtiff, libpng, zlib, ants, bc -, qt5, libGL, libGLU, libX11, libXext -, withGui ? true, less }: +{ stdenv +, lib +, fetchFromGitHub +, python +, makeWrapper +, eigen +, fftw +, libtiff +, libpng +, zlib +, ants +, bc +, qt5 +, libGL +, libGLU +, libX11 +, libXext +, less +, withGui ? true +}: stdenv.mkDerivation rec { pname = "mrtrix"; - version = "unstable-2021-11-25"; + version = "3.0.4"; src = fetchFromGitHub { - owner = "MRtrix3"; - repo = "mrtrix3"; - rev = "994498557037c9e4f7ba67f255820ef84ea899d9"; - sha256 = "sha256-8eFDS5z4ZxMzi9Khk90KAS4ndma/Syd6JDXM2Fpr0M8="; + owner = "MRtrix3"; + repo = "mrtrix3"; + rev = "refs/tags/${version}"; + hash = "sha256-87zBAoBLWQPccGS37XyQ8H0GhL01k8GQFgcLL6IwbcM="; fetchSubmodules = true; };