diff --git a/pkgs/tools/system/hardlink/default.nix b/pkgs/tools/system/hardlink/default.nix deleted file mode 100644 index a82318648495..000000000000 --- a/pkgs/tools/system/hardlink/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchurl, pcre2 }: - - -stdenv.mkDerivation { - pname = "hardlink"; - version = "1.3-4"; - - src = fetchurl { - url = "https://src.fedoraproject.org/cgit/rpms/hardlink.git/snapshot/hardlink-aa6325ac4e8100b8ac7d38c7f0bc2708e69bd855.tar.xz"; - sha256 = "0g4hyrnd9hpykbf06qvvp3s4yyk7flbd95gilkf7r3w9vqiagvs2"; - }; - - buildInputs = [ pcre2 ]; - NIX_CFLAGS_LINK = "-lpcre2-8"; - - buildPhase = '' - $CC -O2 hardlink.c -o hardlink $NIX_CFLAGS_LINK - ''; - - installPhase = '' - mkdir -p $out/bin $out/share/man/man1 - cp -f hardlink $out/bin/hardlink - cp -f hardlink.1 $out/share/man/man1/hardlink.1 - ''; - - meta = with lib; { - description = "Consolidate duplicate files via hardlinks"; - homepage = "https://pagure.io/hardlink"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b2a8d4a5a659..3ea7c71457a6 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -581,6 +581,7 @@ mapAliases ({ ### H ### hal-flash = throw "hal-flash has been removed as Adobe Flash Player is now deprecated"; # Added 2021-02-07 + hardlink = throw "hardlink was merged into util-linux since 2019-06-14."; # Added 2022-08-12 inherit (harePackages) hare harec; # Added 2022-08-10 hawkthorne = throw "hawkthorne has been removed because it depended on a broken version of love"; # Added 2022-01-15 heapster = throw "Heapster is now retired. See https://github.com/kubernetes-retired/heapster/blob/master/docs/deprecation.md"; # Added 2022-04-05 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d02ad441b1c8..eb7bfd829ab3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7198,8 +7198,6 @@ with pkgs; habitat = callPackage ../applications/networking/cluster/habitat { }; - hardlink = callPackage ../tools/system/hardlink { }; - hashcash = callPackage ../tools/security/hashcash { }; hashcat = callPackage ../tools/security/hashcat { };