diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-26 11:38:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-26 11:38:11 +0300 |
commit | 3c35b8482cf04116ed48b2c013aa19c96c9c8ef6 (patch) | |
tree | 8665ae8ffd8ade191807b7eb9befa9ed78edd44b /pkgs/tools/archivers | |
parent | 3803f9bdd3fa3fb7920f5351b49c26497c832af8 (diff) | |
parent | 0f43508d84aabea91fe9a220a1a4727ccb3700ca (diff) |
Merge pull request #234108 from figsoda/xtrt
xtrt: remove
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r-- | pkgs/tools/archivers/xtrt/default.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/tools/archivers/xtrt/default.nix b/pkgs/tools/archivers/xtrt/default.nix deleted file mode 100644 index 1d01935f96886..0000000000000 --- a/pkgs/tools/archivers/xtrt/default.nix +++ /dev/null @@ -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"; - }; -} |