depot/third_party/nixpkgs/pkgs/tools/compression/offzip/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
733 B
Nix

{ lib
, stdenv
, fetchzip
, zlib
}:
stdenv.mkDerivation rec {
pname = "offzip";
version = "0.4.1";
src = fetchzip {
url = "https://web.archive.org/web/20230419080810/https://aluigi.altervista.org/mytoolz/offzip.zip";
hash = "sha256-dmYeSdtNvx6FBuyCdiu+q1ExEfgN8fDO8coyJmFrjKY=";
stripRoot = false;
};
buildInputs = [
zlib
];
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
description = "Tool to unpack the zip data contained in any type of file";
homepage = "https://aluigi.altervista.org/mytoolz.htm#offzip";
license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ r-burns ];
platforms = platforms.unix;
mainProgram = "offzip";
};
}