octavePackages.dicom: Run autoconf to build the necessary C++

This commit is contained in:
Karl Hallsby
2026-04-10 10:42:44 -05:00
parent 3e3435576f
commit b34ad9eb37
@@ -3,6 +3,8 @@
lib,
fetchFromGitHub,
gdcm,
autoreconfHook,
pkg-config,
cmake,
nix-update-script,
}:
@@ -19,15 +21,26 @@ buildOctavePackage rec {
};
nativeBuildInputs = [
pkg-config
autoreconfHook
cmake
];
dontUseCmakeConfigure = true;
propagatedBuildInputs = [
gdcm
];
dontUseCmakeConfigure = true;
preAutoreconf = ''
pushd src
# Removed these so autoreconf actually fires for our environment.
rm config.*
'';
postAutoreconf = ''
popd
'';
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=release-(.*)" ]; };
meta = {