cconv: expand platforms to all

This commit is contained in:
Ben Siraphob 2021-03-04 14:13:10 +07:00
parent f35d716fe1
commit a3bea2debd

View file

@ -1,8 +1,8 @@
{ lib, stdenv, fetchurl, autoreconfHook }: { lib, stdenv, fetchurl, autoreconfHook, libiconv }:
let version = "0.6.3"; in
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "cconv"; pname = "cconv";
inherit version; version = "0.6.3";
src = fetchurl { src = fetchurl {
url = "https://github.com/xiaoyjy/cconv/archive/v${version}.tar.gz"; url = "https://github.com/xiaoyjy/cconv/archive/v${version}.tar.gz";
@ -10,12 +10,13 @@ let version = "0.6.3"; in
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libiconv ];
meta = with lib; { meta = with lib; {
description = "A iconv based simplified-traditional chinese conversion tool"; description = "A iconv based simplified-traditional chinese conversion tool";
homepage = "https://github.com/xiaoyjy/cconv"; homepage = "https://github.com/xiaoyjy/cconv";
license = licenses.mit; license = licenses.mit;
platforms = platforms.linux; platforms = platforms.all;
maintainers = [ maintainers.redfish64 ]; maintainers = [ maintainers.redfish64 ];
}; };
} }