2021-09-19 22:59:16 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libiconv }:
|
2021-03-04 08:13:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "cconv";
|
2021-03-04 08:13:10 +01:00
|
|
|
version = "0.6.3";
|
2021-01-19 22:20:11 +01:00
|
|
|
|
2021-09-19 22:59:16 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xiaoyjy";
|
|
|
|
repo = "cconv";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "RAFl/+I+usUfeG/l17F3ltThK7G4+TekyQGwzQIgeH8=";
|
2018-03-31 10:30:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2021-03-04 08:13:10 +01:00
|
|
|
buildInputs = [ libiconv ];
|
2021-01-19 22:20:11 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-03-31 10:30:33 +02:00
|
|
|
description = "A iconv based simplified-traditional chinese conversion tool";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/xiaoyjy/cconv";
|
2018-03-31 10:30:33 +02:00
|
|
|
license = licenses.mit;
|
2021-03-04 08:13:10 +01:00
|
|
|
platforms = platforms.all;
|
2018-03-31 10:30:33 +02:00
|
|
|
maintainers = [ maintainers.redfish64 ];
|
|
|
|
};
|
|
|
|
}
|