hardlink: remove

A dignified burial for this expression. Long live hardlink on util-linux!
This commit is contained in:
AndersonTorres 2022-08-12 23:25:34 -03:00
parent 4957755660
commit 2e506b019c
3 changed files with 1 additions and 34 deletions

View file

@ -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;
};
}

View file

@ -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

View file

@ -7189,8 +7189,6 @@ with pkgs;
habitat = callPackage ../applications/networking/cluster/habitat { };
hardlink = callPackage ../tools/system/hardlink { };
hashcash = callPackage ../tools/security/hashcash { };
hashcat = callPackage ../tools/security/hashcat { };