about summary refs log tree commit diff
path: root/pkgs/tools/compression/offzip/default.nix
blob: e756d425726428a9a2ca93360120388d1ff3fb5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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 = "A 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";
  };
}