3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/opencc/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

30 lines
957 B
Nix

{ stdenv, fetchurl, cmake, python }:
stdenv.mkDerivation {
name = "opencc-1.0.5";
src = fetchurl {
url = "https://github.com/BYVoid/OpenCC/archive/ver.1.0.5.tar.gz";
sha256 = "1ce1649ba280cfc88bb76e740be5f54b29a9c034400c97a3ae211c37d7030705";
};
buildInputs = [ cmake python ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=OFF"
];
meta = with stdenv.lib; {
homepage = https://github.com/BYVoid/OpenCC;
license = licenses.asl20;
description = "A project for conversion between Traditional and Simplified Chinese";
longDescription = ''
Open Chinese Convert (OpenCC) is an opensource project for conversion between
Traditional Chinese and Simplified Chinese, supporting character-level conversion,
phrase-level conversion, variant conversion and regional idioms among Mainland China,
Taiwan and Hong kong.
'';
maintainers = [ maintainers.mingchuan ];
platforms = platforms.linux;
};
}