2022-07-15 09:54:25 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libzip, libiconv, autoreconfHook }:
|
2016-01-17 23:04:40 +00:00
|
|
|
|
2015-12-27 13:23:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.4";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "runzip";
|
2016-01-17 23:04:40 +00:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2022-07-15 09:54:25 +01:00
|
|
|
buildInputs = [ libiconv libzip ];
|
2016-01-17 23:04:40 +00:00
|
|
|
|
2015-12-27 13:23:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vlm";
|
|
|
|
repo = "zip-fix-filename-encoding";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0l5zbb5hswxczigvyal877j0aiq3fc01j3gv88bvy7ikyvw3lc07";
|
|
|
|
};
|
2016-01-17 23:04:40 +00:00
|
|
|
|
2015-12-27 13:23:52 +00:00
|
|
|
meta = {
|
2016-01-17 23:04:40 +00:00
|
|
|
description = "A tool to convert filename encoding inside a ZIP archive";
|
2022-07-15 09:54:25 +01:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
|
|
platforms = lib.platforms.unix;
|
2015-12-27 13:23:52 +00:00
|
|
|
};
|
|
|
|
}
|