mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
n3: 2017-09-18 -> 2018-08-09
- update LIBMINC_DIR and EBTKS_DIR due to CMake updates in those packages
This commit is contained in:
parent
7772e248ab
commit
9a190786a4
@ -4,20 +4,20 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "N3";
|
pname = "N3";
|
||||||
name = "${pname}-2017-09-18";
|
version = "unstable-2018-08-09";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "BIC-MNI";
|
owner = "BIC-MNI";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "2fdd939f0f2b24a4039bc6a8ade4a190a1d8e75d";
|
rev = "010fc2ac58ce1d67b8e6a863fac0809d3203cb9b";
|
||||||
sha256 = "13z21c4r09hna3q1csvcn4i7ws5ixbdaja6ch421xv6nydjh2w5g";
|
sha256 = "06hci7gzhy8p34ggvx7gah2k9yxpwhgmq1cgw8pcd1r82g4rg6kd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libminc EBTKS ];
|
buildInputs = [ libminc EBTKS ];
|
||||||
propagatedBuildInputs = with perlPackages; [ perl MNI-Perllib GetoptTabular ];
|
propagatedBuildInputs = with perlPackages; [ perl MNI-Perllib GetoptTabular ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for p in $out/bin/*; do
|
for p in $out/bin/*; do
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/BIC-MNI/${pname}";
|
homepage = "https://github.com/BIC-MNI/N3";
|
||||||
description = "MRI non-uniformity correction for MINC files";
|
description = "MRI non-uniformity correction for MINC files";
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
Loading…
Reference in New Issue
Block a user