From 128697f058fa84f1630ed80458e86f48bf9c49ff Mon Sep 17 00:00:00 2001 From: patka Date: Mon, 5 May 2025 15:48:35 +0200 Subject: [PATCH] hmetis: drop Upstream is dead so there's no way to download the tarball and use/build the software. --- .../science/math/hmetis/default.nix | 51 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 pkgs/applications/science/math/hmetis/default.nix diff --git a/pkgs/applications/science/math/hmetis/default.nix b/pkgs/applications/science/math/hmetis/default.nix deleted file mode 100644 index c8bacea5acb7..000000000000 --- a/pkgs/applications/science/math/hmetis/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - ghostscript, -}: - -stdenv.mkDerivation rec { - pname = "hmetis"; - version = "1.5"; - - src = fetchurl { - url = "http://glaros.dtc.umn.edu/gkhome/fetch/sw/hmetis/hmetis-${version}-linux.tar.gz"; - sha256 = "e835a098c046e9c26cecb8addfea4d18ff25214e49585ffd87038e72819be7e1"; - }; - - nativeBuildInputs = [ ghostscript ]; - - binaryFiles = "hmetis khmetis shmetis"; - - patchPhase = '' - for binaryfile in $binaryFiles; do - patchelf \ - --set-interpreter ${stdenv.cc.libc}/lib/ld-linux.so.2 \ - --set-rpath ${stdenv.cc.libc}/lib \ - $binaryfile - done - ''; - - buildPhase = '' - gs -sOutputFile=manual.pdf -sDEVICE=pdfwrite -SNOPAUSE -dBATCH manual.ps - ''; - - installPhase = '' - mkdir -p $out/bin $out/share/doc/hmetis $out/lib - mv $binaryFiles $out/bin - mv manual.pdf $out/share/doc/hmetis - mv libhmetis.a $out/lib - ''; - - meta = with lib; { - description = "hMETIS is a set of programs for partitioning hypergraphs"; - homepage = "http://glaros.dtc.umn.edu/gkhome/metis/hmetis/overview"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - platforms = [ - "i686-linux" - "x86_64-linux" - ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index bbc45db63605..fc011c1a5029 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -832,6 +832,7 @@ mapAliases { HentaiAtHome = hentai-at-home; # Added 2024-06-12 hll2390dw-cups = throw "The hll2390dw-cups package was dropped since it was unmaintained."; # Added 2024-06-21 hoarder = throw "'hoarder' has been renamed to 'karakeep'"; # Added 2025-04-21 + hmetis = throw "'hmetis' has been removed as it was unmaintained and the upstream was unavailable"; # Added 2025-05-05 hop-cli = throw "hop-cli has been removed as the service has been shut-down"; # Added 2024-08-13 hpp-fcl = coal; # Added 2024-11-15 ht-rust = throw "'ht-rust' has been renamed to/replaced by 'xh'"; # Converted to throw 2024-10-17 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8d35d3f0b7e8..3a920a31c20a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3172,8 +3172,6 @@ with pkgs; gemstash = callPackage ../development/tools/gemstash { }; - hmetis = pkgsi686Linux.callPackage ../applications/science/math/hmetis { }; - libbtbb = callPackage ../development/libraries/libbtbb { }; lpd8editor = libsForQt5.callPackage ../applications/audio/lpd8editor { };