From 956062c0084a5cdeccb70b2cd76710c29897f876 Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Thu, 17 Apr 2025 11:49:05 +0200 Subject: [PATCH] hardinfo: drop --- pkgs/by-name/ha/hardinfo/package.nix | 70 ---------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 70 deletions(-) delete mode 100644 pkgs/by-name/ha/hardinfo/package.nix diff --git a/pkgs/by-name/ha/hardinfo/package.nix b/pkgs/by-name/ha/hardinfo/package.nix deleted file mode 100644 index c7cb86f6d6ef..000000000000 --- a/pkgs/by-name/ha/hardinfo/package.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - which, - pkg-config, - gtk2, - pcre, - glib, - libxml2, - libsoup_2_4 ? null, -}: - -stdenv.mkDerivation rec { - pname = "hardinfo"; - version = "0.5.1"; - - src = fetchurl { - url = "mirror://sourceforge/project/hardinfo.berlios/hardinfo-${version}.tar.bz2"; - sha256 = "0yhvfc5icam3i4mphlz0m9d9d2irjw8mbsxq203x59wjgh6nrpx0"; - }; - - # Not adding 'hostname' command, the build shouldn't depend on what the build - # host is called. - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - which - gtk2 - pcre - glib - libxml2 - libsoup_2_4 - ]; - - # Fixes '#error You must compile this program without "-O"' - hardeningDisable = [ "all" ]; - - # Ignore undefined references to a bunch of libsoup symbols - NIX_LDFLAGS = "--unresolved-symbol=ignore-all"; - - preConfigure = '' - patchShebangs configure - - # -std=gnu89 fixes build error, copied from - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757525 - sed -i -e "s/^CFLAGS = \(.*\)/CFLAGS = \1 -std=gnu89/" Makefile.in - - substituteInPlace ./arch/linux/common/modules.h --replace /sbin/modinfo modinfo - substituteInPlace ./arch/linux/common/os.h --replace /lib/libc.so.6 ${stdenv.cc.libc}/lib/libc.so - ''; - - # Makefile supports DESTDIR but not PREFIX (it hardcodes $DESTDIR/usr/). - installFlags = [ "DESTDIR=$(out)" ]; - postInstall = '' - mv "$out/usr/"* "$out" - rmdir "$out/usr" - ''; - - meta = with lib; { - homepage = "http://hardinfo.org/"; - description = "Display information about your hardware and operating system"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ bjornfor ]; - platforms = [ - "x86_64-linux" - "i686-linux" - ]; # ARMv7 and AArch64 are unsupported - mainProgram = "hardinfo"; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 6671271001d2..6d63a97c0fb3 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -805,6 +805,7 @@ mapAliases { hacksaw = throw "'hacksaw' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 haka = throw "haka has been removed because it failed to build and was unmaintained for 9 years"; # Added 2025-03-11 + hardinfo = throw "'hardinfo' has been removed as it was abandoned upstream. Consider using 'hardinfo2' instead."; # added 2025-04-17 haven-cli = throw "'haven-cli' has been removed due to the official announcement of the project closure. Read more at https://havenprotocol.org/2024/12/12/project-closure-announcement"; # Added 2025-02-25 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