mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
commit
3c35b8482c
@ -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";
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -1781,8 +1781,6 @@ with pkgs;
|
||||
|
||||
xrootd = callPackage ../tools/networking/xrootd { };
|
||||
|
||||
xtrt = callPackage ../tools/archivers/xtrt { };
|
||||
|
||||
yabridge = callPackage ../tools/audio/yabridge {
|
||||
wine = wineWowPackages.staging;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user