From a3bea2debd0dd5c111e087115023ce6034151cde Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Thu, 4 Mar 2021 14:13:10 +0700 Subject: [PATCH] cconv: expand platforms to all --- pkgs/tools/text/cconv/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/text/cconv/default.nix b/pkgs/tools/text/cconv/default.nix index 9c5796c0b1d..e918d620c67 100644 --- a/pkgs/tools/text/cconv/default.nix +++ b/pkgs/tools/text/cconv/default.nix @@ -1,8 +1,8 @@ -{ lib, stdenv, fetchurl, autoreconfHook }: -let version = "0.6.3"; in - stdenv.mkDerivation { +{ lib, stdenv, fetchurl, autoreconfHook, libiconv }: + +stdenv.mkDerivation rec { pname = "cconv"; - inherit version; + version = "0.6.3"; src = fetchurl { url = "https://github.com/xiaoyjy/cconv/archive/v${version}.tar.gz"; @@ -10,12 +10,13 @@ let version = "0.6.3"; in }; nativeBuildInputs = [ autoreconfHook ]; + buildInputs = [ libiconv ]; meta = with lib; { description = "A iconv based simplified-traditional chinese conversion tool"; homepage = "https://github.com/xiaoyjy/cconv"; license = licenses.mit; - platforms = platforms.linux; + platforms = platforms.all; maintainers = [ maintainers.redfish64 ]; }; }