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

25 lines
556 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchurl, zlib }:
2013-10-17 17:35:24 +01:00
stdenv.mkDerivation rec {
name = "gzrt-0.8";
src = fetchurl {
url = "https://www.urbanophile.com/arenn/coding/gzrt/${name}.tar.gz";
2013-10-17 17:35:24 +01:00
sha256 = "1vhzazj47xfpbfhzkwalz27cc0n5gazddmj3kynhk0yxv99xrdxh";
};
buildInputs = [ zlib ];
installPhase = ''
mkdir -p $out/bin
cp gzrecover $out/bin
'';
meta = {
homepage = "https://www.urbanophile.com/arenn/hacking/gzrt/";
2013-10-17 17:35:24 +01:00
description = "The gzip Recovery Toolkit";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
2013-10-17 17:35:24 +01:00
};
}