nixpkgs/pkgs/tools/text/cconv/default.nix

23 lines
638 B
Nix
Raw Normal View History

2021-03-03 23:13:10 -08:00
{ lib, stdenv, fetchurl, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
2019-08-13 14:52:01 -07:00
pname = "cconv";
2021-03-03 23:13:10 -08:00
version = "0.6.3";
2018-03-31 01:30:33 -07:00
src = fetchurl {
url = "https://github.com/xiaoyjy/cconv/archive/v${version}.tar.gz";
sha256 = "82f46a94829f5a8157d6f686e302ff5710108931973e133d6e19593061b81d84";
};
nativeBuildInputs = [ autoreconfHook ];
2021-03-03 23:13:10 -08:00
buildInputs = [ libiconv ];
meta = with lib; {
2018-03-31 01:30:33 -07:00
description = "A iconv based simplified-traditional chinese conversion tool";
homepage = "https://github.com/xiaoyjy/cconv";
2018-03-31 01:30:33 -07:00
license = licenses.mit;
2021-03-03 23:13:10 -08:00
platforms = platforms.all;
2018-03-31 01:30:33 -07:00
maintainers = [ maintainers.redfish64 ];
};
}