1{
2 lib,
3 stdenv,
4 fetchzip,
5 zlib,
6}:
7
8stdenv.mkDerivation {
9 pname = "offzip";
10 version = "0.4.1";
11
12 src = fetchzip {
13 url = "https://web.archive.org/web/20230419080810/https://aluigi.altervista.org/mytoolz/offzip.zip";
14 hash = "sha256-dmYeSdtNvx6FBuyCdiu+q1ExEfgN8fDO8coyJmFrjKY=";
15 stripRoot = false;
16 };
17
18 buildInputs = [
19 zlib
20 ];
21
22 makeFlags = [
23 "PREFIX=${placeholder "out"}"
24 ];
25
26 meta = with lib; {
27 description = "Tool to unpack the zip data contained in any type of file";
28 homepage = "https://aluigi.altervista.org/mytoolz.htm#offzip";
29 license = lib.licenses.gpl2Plus;
30 maintainers = with maintainers; [ r-burns ];
31 platforms = platforms.unix;
32 mainProgram = "offzip";
33 };
34}