2016-01-17 23:04:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, libzip, autoreconfHook }:
|
|
|
|
|
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 ];
|
|
|
|
buildInputs = [ 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";
|
2015-12-27 13:23:52 +00:00
|
|
|
license = stdenv.lib.licenses.bsd2 ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|