nixpkgs/pkgs/tools/text/cconv/default.nix
2021-10-24 15:10:47 +02:00

25 lines
627 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
pname = "cconv";
version = "0.6.3";
src = fetchFromGitHub {
owner = "xiaoyjy";
repo = "cconv";
rev = "v${version}";
sha256 = "RAFl/+I+usUfeG/l17F3ltThK7G4+TekyQGwzQIgeH8=";
};
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.all;
maintainers = [ maintainers.redfish64 ];
};
}