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