2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-24 12:14:16 +00:00
|
|
|
pname = "gzrt";
|
|
|
|
version = "0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-24 12:14:16 +00:00
|
|
|
url = "https://www.urbanophile.com/arenn/coding/gzrt/gzrt-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1vhzazj47xfpbfhzkwalz27cc0n5gazddmj3kynhk0yxv99xrdxh";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp gzrecover $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.urbanophile.com/arenn/hacking/gzrt/";
|
|
|
|
description = "The gzip Recovery Toolkit";
|
2021-07-24 12:14:16 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "gzrecover";
|
2021-07-24 12:14:16 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|