mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
652 B
Nix
26 lines
652 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 = "Iconv based simplified-traditional chinese conversion tool";
|
|
mainProgram = "cconv";
|
|
homepage = "https://github.com/xiaoyjy/cconv";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.redfish64 ];
|
|
};
|
|
}
|