mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
hmetis: drop
Upstream is dead so there's no way to download the tarball and use/build the software.
This commit is contained in:
parent
fb672a7674
commit
128697f058
3 changed files with 1 additions and 53 deletions
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue