1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/tools/text/kytea/default.nix
Orivej Desh 51af2c330b kytea: fix build after #28029
It moved our -O2 before their -O3, but -O3 inlines "checkValueVecEqual(&,&)" into
"checkValueVecEqual(*,*)".
2018-05-29 17:11:29 +00:00

31 lines
764 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "kytea-${version}";
version = "0.4.7";
src = fetchurl {
url = "http://www.phontron.com/kytea/download/${name}.tar.gz";
sha256 = "0ilzzwn5vpvm65bnbyb9f5rxyxy3jmbafw9w0lgl5iad1ka36jjk";
};
patches = [ ./gcc-O3.patch ];
meta = with stdenv.lib; {
homepage = http://www.phontron.com/kytea/;
description = "General toolkit developed for analyzing text";
longDescription = ''
A general toolkit developed for analyzing text, with a focus on Japanese,
Chinese and other languages requiring word or morpheme segmentation.
'';
license = licenses.asl20;
maintainers = with maintainers; [ ericsagnes ndowens ];
platforms = platforms.linux;
};
}