From 7c80e7a012208281f84dbc56e939a825e261dda9 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:03:25 +0100 Subject: [PATCH] gnufdisk: drop --- pkgs/tools/system/fdisk/default.nix | 58 ----------------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 -- 3 files changed, 1 insertion(+), 62 deletions(-) delete mode 100644 pkgs/tools/system/fdisk/default.nix diff --git a/pkgs/tools/system/fdisk/default.nix b/pkgs/tools/system/fdisk/default.nix deleted file mode 100644 index beb4906d0e49..000000000000 --- a/pkgs/tools/system/fdisk/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - gettext, - guile, - libuuid, - parted, -}: - -stdenv.mkDerivation rec { - pname = "gnufdisk"; - version = "2.0.0a1"; - - src = fetchurl { - url = "mirror://gnu/fdisk/gnufdisk-${version}.tar.gz"; - hash = "sha256-yWPYTf8RxBIQ//mUdC6fkKct/csEgbzEtTAiPtNRH7U="; - }; - - postPatch = '' - sed -i "s/gnufdisk-common.h .*/\n/g" backend/configure - ''; - - strictDeps = true; - - nativeBuildInputs = [ - gettext - guile - ]; - - buildInputs = [ - guile - libuuid - parted - ]; - - env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [ - "-I../common/include" - "-I../debug/include" - "-I../exception/include" - ]; - - doCheck = true; - - meta = { - description = "Command-line disk partitioning tool"; - longDescription = '' - GNU fdisk provides a GNU version of the common disk partitioning tool - fdisk. fdisk is used for the creation and manipulation of disk partition - tables, and it understands a variety of different formats. - ''; - homepage = "https://www.gnu.org/software/fdisk/"; - license = lib.licenses.gpl3Plus; - mainProgram = "gnufdisk"; - maintainers = [ lib.maintainers.wegank ]; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 4dc915cde728..3cc8c91eaf63 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -505,6 +505,7 @@ mapAliases { gmock = throw "'gmock' has been renamed to/replaced by 'gtest'"; # Converted to throw 2024-10-17 gnome3 = throw "'gnome3' has been renamed to/replaced by 'gnome'"; # Converted to throw 2024-10-17 + gnufdisk = throw "'gnufdisk' has been removed due to lack of maintenance upstream"; # Added 2024-12-31 gnuradio3_9 = throw "gnuradio3_9 has been removed because it is not compatible with the latest volk and it had no dependent packages which justified it's distribution"; # Added 2024-07-28 gnuradio3_9Minimal = throw "gnuradio3_9Minimal has been removed because it is not compatible with the latest volk and it had no dependent packages which justified it's distribution"; # Added 2024-07-28 gnuradio3_9Packages = throw "gnuradio3_9Minimal has been removed because it is not compatible with the latest volk and it had no dependent packages which justified it's distribution"; # Added 2024-07-28 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 844ba5a100d6..b415b1c5ee0b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3494,10 +3494,6 @@ with pkgs; gnucap-full = gnucap.withPlugins(p: [ p.verilog ]); - gnufdisk = callPackage ../tools/system/fdisk { - guile = guile_1_8; - }; - gnugrep = callPackage ../tools/text/gnugrep { }; gnupatch = callPackage ../tools/text/gnupatch { };