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