2021-10-28 06:52:43 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libiconv }:
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "cconv";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "0.6.3";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xiaoyjy";
|
|
|
|
repo = "cconv";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "RAFl/+I+usUfeG/l17F3ltThK7G4+TekyQGwzQIgeH8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2021-03-09 03:18:52 +00:00
|
|
|
buildInputs = [ libiconv ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A iconv based simplified-traditional chinese conversion tool";
|
|
|
|
homepage = "https://github.com/xiaoyjy/cconv";
|
|
|
|
license = licenses.mit;
|
2021-03-09 03:18:52 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.redfish64 ];
|
|
|
|
};
|
|
|
|
}
|