summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/archivers/runzip
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2015-12-27 14:23:52 +0100
committerMichael Raskin <7c6f434c@mail.ru>2015-12-27 14:23:52 +0100
commit56aa0ff1d9d14486de2ebad3b5605c43695bae95 (patch)
treee3caf0308cb1412869bdafe97fe8616f47c43818 /pkgs/tools/archivers/runzip
parentbd3ef3d1be2b815c2f1f56d0ce5514833a4ed412 (diff)
runzip: init at 1.4
Diffstat (limited to 'pkgs/tools/archivers/runzip')
-rw-r--r--pkgs/tools/archivers/runzip/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/runzip/default.nix b/pkgs/tools/archivers/runzip/default.nix
new file mode 100644
index 000000000000..9b2fd0eda594
--- /dev/null
+++ b/pkgs/tools/archivers/runzip/default.nix
@@ -0,0 +1,23 @@
+{stdenv, fetchFromGitHub, libzip, autoconf, automake, libtool, m4}:
+stdenv.mkDerivation rec {
+ baseName = "runzip";
+ version = "1.4";
+ name = "${baseName}-${version}";
+ buildInputs = [libzip autoconf automake libtool m4];
+ src = fetchFromGitHub {
+ owner = "vlm";
+ repo = "zip-fix-filename-encoding";
+ rev = "v${version}";
+ sha256 = "0l5zbb5hswxczigvyal877j0aiq3fc01j3gv88bvy7ikyvw3lc07";
+ };
+ preConfigure = ''
+ autoreconf -iv
+ '';
+ meta = {
+ inherit version;
+ description = ''A tool to convert filename encoding inside a ZIP archive'';
+ license = stdenv.lib.licenses.bsd2 ;
+ maintainers = [stdenv.lib.maintainers.raskin];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}