init vtk-dicom at 0.8.15

This commit is contained in:
Paul Haerle 2023-11-15 13:50:15 +00:00
commit da67b26e35

22
default.nix Normal file
View File

@ -0,0 +1,22 @@
{ stdenv, fetchFromGitHub, cmake, vtk }:
stdenv.mkDerivation {
pname = "vtk-dicom";
version = "0.8.15";
src = fetchFromGitHub {
owner = "dgobbi";
repo = "vtk-dicom";
rev = "0b569851094f07f8d8d09c9e8c60985096a18cf8";
sha256 = "sha256-1q9d95wrmAfVXsdvtdMb8CPsPgvnarQWFrxqiE+QxnE=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ vtk ];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DCMAKE_INSTALL_BINDIR=bin"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
];
}