runzip: enable for Darwin

It builds and works just fine on Darwin, it just needs explicit
libiconv dependency.
This commit is contained in:
Yuriy Taraday 2022-07-15 12:54:25 +04:00
parent be1929a994
commit ee0389d810

View File

@ -1,11 +1,11 @@
{ lib, stdenv, fetchFromGitHub, libzip, autoreconfHook }:
{ lib, stdenv, fetchFromGitHub, libzip, libiconv, autoreconfHook }:
stdenv.mkDerivation rec {
version = "1.4";
pname = "runzip";
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libzip ];
buildInputs = [ libiconv libzip ];
src = fetchFromGitHub {
owner = "vlm";
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A tool to convert filename encoding inside a ZIP archive";
license = lib.licenses.bsd2 ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.unix;
};
}