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