mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
openfst: enable more features
This commit is contained in:
parent
19e939d98e
commit
d52f4ea0ef
1 changed files with 22 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "openfst";
|
pname = "openfst";
|
||||||
|
@ -8,7 +8,24 @@ stdenv.mkDerivation rec {
|
||||||
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${pname}-${version}.tar.gz";
|
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${pname}-${version}.tar.gz";
|
||||||
sha256 = "03hs0196qbjfbviqn6nnb7igvv3cnpxyizlwlzmx88a6fhiq97bm";
|
sha256 = "03hs0196qbjfbviqn6nnb7igvv3cnpxyizlwlzmx88a6fhiq97bm";
|
||||||
};
|
};
|
||||||
meta = {
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-compact-fsts"
|
||||||
|
"--enable-compress"
|
||||||
|
"--enable-const-fsts"
|
||||||
|
"--enable-far"
|
||||||
|
"--enable-linear-fsts"
|
||||||
|
"--enable-lookahead-fsts"
|
||||||
|
"--enable-mpdt"
|
||||||
|
"--enable-ngram-fsts"
|
||||||
|
"--enable-pdt"
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "Library for working with finite-state transducers";
|
description = "Library for working with finite-state transducers";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs).
|
Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs).
|
||||||
|
@ -16,9 +33,8 @@ stdenv.mkDerivation rec {
|
||||||
pattern matching, string processing, machine learning, information extraction and retrieval among others
|
pattern matching, string processing, machine learning, information extraction and retrieval among others
|
||||||
'';
|
'';
|
||||||
homepage = "http://www.openfst.org/twiki/bin/view/FST/WebHome";
|
homepage = "http://www.openfst.org/twiki/bin/view/FST/WebHome";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ stdenv.lib.maintainers.dfordivam ];
|
maintainers = [ maintainers.dfordivam ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue