summary refs log tree commit diff
path: root/pkgs/tools/compression/gzrt/default.nix
blob: 664c1eb78565e95ea31581973d8feedd7a0d07d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 = "The gzip Recovery Toolkit";
    maintainers = with maintainers; [ ];
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
  };
}