From 7243f973ec592dc2775f1a206645c8d309d92f37 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sun, 5 Apr 2026 00:14:44 -0400 Subject: [PATCH] cmtk: drop Broken since September 2025 (so it's broken on stable too). No user complaints about this, which implies that this package has no users. Seemingly lightly maintained upstream as well (one release in the last 10 years or so). --- pkgs/by-name/cm/cmtk/package.nix | 59 -------------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 59 deletions(-) delete mode 100644 pkgs/by-name/cm/cmtk/package.nix diff --git a/pkgs/by-name/cm/cmtk/package.nix b/pkgs/by-name/cm/cmtk/package.nix deleted file mode 100644 index 93920eb50821..000000000000 --- a/pkgs/by-name/cm/cmtk/package.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ - lib, - stdenv, - bzip2, - cmake, - fetchurl, - fftw, - llvmPackages, - zlib, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "cmtk"; - version = "3.3.2"; - - src = fetchurl { - name = "cmtk-source.tar.gz"; - url = "https://www.nitrc.org/frs/download.php/13188/CMTK-${finalAttrs.version}-Source.tar.gz//?i_agree=1&download_now=1"; - hash = "sha256-iE164NCOSOypZLLZfZy9RTyrS+YnY9ECqfb4QhlsMS4="; - }; - - postPatch = '' - substituteInPlace apps/vtkxform.cxx --replace-fail \ - "float xyzFloat[3] = { xyz[0], xyz[1], xyz[2] };" \ - "float xyzFloat[3] = { (float)xyz[0], (float)xyz[1], (float)xyz[2] };" - ''; - - nativeBuildInputs = [ cmake ]; - - buildInputs = [ - bzip2 - fftw - zlib - ] - ++ lib.optionals stdenv.cc.isClang [ - llvmPackages.openmp - ]; - - cmakeFlags = [ - (lib.cmakeFeature "CMAKE_CXX_STANDARD" "14") - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ - (lib.cmakeFeature "CMAKE_CXX_FLAGS" "-Dfinite=isfinite") - ]; - - meta = { - description = "Computational Morphometry Toolkit"; - mainProgram = "cmtk"; - longDescription = '' - A software toolkit for computational morphometry of - biomedical images, CMTK comprises a set of command line tools and a - back-end general-purpose library for processing and I/O - ''; - maintainers = [ ]; - platforms = lib.platforms.all; - license = lib.licenses.gpl3Plus; - homepage = "https://www.nitrc.org/projects/cmtk/"; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c4a2c5e9bdc5..69740314de9a 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -505,6 +505,7 @@ mapAliases { cloudlogoffline = throw "cloudlogoffline has been removed"; # Added 2025-05-18 clucene_core = warnAlias "'clucene_core' has been renamed to 'clucene-core'" clucene-core; # Added 2026-01-12 clucene_core_2 = warnAlias "'clucene_core_2' has been renamed to 'clucene-core_2'" clucene-core_2; # Added 2026-01-12 + cmtk = throw "'cmtk' has been dropped due to being broken since September 2025, with no complaints by any users of the package."; # Added 2026-04-05 coc-sumneko-lua = throw "'coc-sumneko-lua' has been removed due to unmaintained and broken package. 'lua_ls' can be used as a replacement"; # Added 2026-02-04 cockroachdb-bin = throw "'cockroachdb-bin' has been renamed to/replaced by 'cockroachdb'"; # Converted to throw 2025-10-27 code-browser-gtk2 = throw "'code-browser-gtk2' has been removed, as it was broken since 22.11"; # Added 2025-08-22