refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-18 10:45:31 +01:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions
+8 -9
View File
@@ -1,21 +1,20 @@
{stdenv, fetchFromGitHub, libzip, autoconf, automake, libtool, m4}:
{ stdenv, fetchFromGitHub, libzip, autoreconfHook }:
stdenv.mkDerivation rec {
baseName = "runzip";
version = "1.4";
name = "${baseName}-${version}";
buildInputs = [libzip autoconf automake libtool m4];
name = "runzip-${version}";
buildInputs = [ libzip autoreconfHook ];
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'';
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;