2022-07-18 16:21:45 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libzip, libiconv, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.4";
|
|
|
|
pname = "runzip";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2022-07-18 16:21:45 +00:00
|
|
|
buildInputs = [ libiconv libzip ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vlm";
|
|
|
|
repo = "zip-fix-filename-encoding";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0l5zbb5hswxczigvyal877j0aiq3fc01j3gv88bvy7ikyvw3lc07";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to convert filename encoding inside a ZIP archive";
|
2022-07-18 16:21:45 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
|
|
platforms = lib.platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "runzip";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|