elastix: 4.8 -> 4.9.0
This commit is contained in:
parent
1595f3cc45
commit
efb02d3c00
@ -1,22 +1,18 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, itk, python }:
|
{ stdenv, fetchurl, cmake, itk, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
_name = "elastix";
|
pname = "elastix";
|
||||||
_version = "4.8";
|
pversion = "4.9.0";
|
||||||
name = "${_name}-${_version}";
|
name = "${pname}-${pversion}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "SuperElastix";
|
url = "https://github.com/SuperElastix/${pname}/archive/${pversion}.tar.gz";
|
||||||
repo = "elastix";
|
sha256 = "02pbln36nq98xxfyqwlxg7b6gmigdq4fgfqr9mym1qn58aj04shg";
|
||||||
rev = "ef057ff89233822b26b04b31c3c043af57d5deff";
|
|
||||||
sha256 = "0gm3a8dgqww50h6zld9ighjk92wlpybpimjwfz4s5h82vdjsvxrm";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python ];
|
nativeBuildInputs = [ cmake python ];
|
||||||
buildInputs = [ itk ];
|
buildInputs = [ itk ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DUSE_KNNGraphAlphaMutualInformationMetric=OFF" ];
|
|
||||||
|
|
||||||
checkPhase = "ctest";
|
checkPhase = "ctest";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user