xtrt: remove

This commit is contained in:
figsoda 2023-05-25 21:29:07 -04:00
parent 8de9fea9ea
commit 0f43508d84
3 changed files with 1 additions and 39 deletions

View file

@ -1,37 +0,0 @@
{ bzip2, fetchFromGitHub, gzip, gnutar, lib, stdenv, unzip, xz }:
stdenv.mkDerivation rec {
pname = "xtrt";
version = "unstable-2021-02-17";
src = fetchFromGitHub {
owner = "figsoda";
repo = pname;
rev = "61884fb7c48c7e1e2194afd82b85f415a6dc7c20";
sha256 = "073l4q6mx5if791p5a6w8m8bz2aypmjmycaijq4spql8bh6h12vf";
};
postPatch = ''
substituteInPlace xtrt \
--replace "bzip2 " "${bzip2}/bin/bzip2 " \
--replace "gzip " "${gzip}/bin/gzip " \
--replace "tar " "${gnutar}/bin/tar " \
--replace "unzip " "${unzip}/bin/unzip " \
--replace "xz " "${xz}/bin/xz "
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp xtrt $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Tiny script to extract archives by their extensions";
homepage = "https://github.com/figsoda/xtrt";
license = licenses.unlicense;
maintainers = with maintainers; [ figsoda ];
mainProgram = "xtrt";
};
}

View file

@ -1805,6 +1805,7 @@ mapAliases ({
"from nixpkgs. Users are urged to switch to 'xone'."
); # Added 2022-08-02
xpraGtk3 = throw "'xpraGtk3' has been renamed to/replaced by 'xpra'"; # Converted to throw 2022-02-22
xtrt = throw "xtrt has been removed due to being abandoned"; # Added 2023-05-25
xv = xxv; # Added 2020-02-22
xvidcap = throw "'xvidcap' has been removed because of a broken dependency"; # Added 2022-11-08
xvfb_run = xvfb-run; # Added 2021-05-07

View file

@ -1779,8 +1779,6 @@ with pkgs;
xrootd = callPackage ../tools/networking/xrootd { };
xtrt = callPackage ../tools/archivers/xtrt { };
yabridge = callPackage ../tools/audio/yabridge {
wine = wineWowPackages.staging;
};