nixpkgs/pkgs/tools/compression/gzrt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
654 B
Nix
Raw Normal View History

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; {
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; [ ];
mainProgram = "gzrecover";
2021-07-21 11:38:55 +00:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
2013-10-17 16:35:24 +00:00
};
}