about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/cconv/default.nix
blob: 86aaf2d5f7c6b012718e1eda2a43b962d0adc70e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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";
    mainProgram = "cconv";
    homepage = "https://github.com/xiaoyjy/cconv";
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = [ maintainers.redfish64 ];
  };
}