Merge pull request #186372 from AndersonTorres/bury-hardlink

hardlink: remove
This commit is contained in:
Anderson Torres 2022-08-13 19:45:20 -03:00 committed by GitHub
commit 4d742520f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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