depot/third_party/nixpkgs/pkgs/tools/compression/gzrt/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
650 B
Nix

{ lib, stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
pname = "gzrt";
version = "0.8";
src = fetchurl {
url = "https://www.urbanophile.com/arenn/coding/gzrt/gzrt-${version}.tar.gz";
sha256 = "1vhzazj47xfpbfhzkwalz27cc0n5gazddmj3kynhk0yxv99xrdxh";
};
buildInputs = [ zlib ];
installPhase = ''
mkdir -p $out/bin
cp gzrecover $out/bin
'';
meta = with lib; {
homepage = "https://www.urbanophile.com/arenn/hacking/gzrt/";
description = "Gzip Recovery Toolkit";
maintainers = with maintainers; [ ];
mainProgram = "gzrecover";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}