diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-06-01 14:56:39 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-06-06 13:10:50 +0100 |
commit | d52f4ea0ef99a790c00b18d270c332dbbe0968e0 (patch) | |
tree | 935785f36a344283d6c0f24f4ba8b5e674064de4 /pkgs/development/libraries/openfst/default.nix | |
parent | 19e939d98e204c94561b95dc23803d58bde99ab9 (diff) | |
download | nixpkgs-d52f4ea0ef99a790c00b18d270c332dbbe0968e0.tar nixpkgs-d52f4ea0ef99a790c00b18d270c332dbbe0968e0.tar.gz nixpkgs-d52f4ea0ef99a790c00b18d270c332dbbe0968e0.tar.bz2 nixpkgs-d52f4ea0ef99a790c00b18d270c332dbbe0968e0.tar.lz nixpkgs-d52f4ea0ef99a790c00b18d270c332dbbe0968e0.tar.xz nixpkgs-d52f4ea0ef99a790c00b18d270c332dbbe0968e0.tar.zst nixpkgs-d52f4ea0ef99a790c00b18d270c332dbbe0968e0.zip |
openfst: enable more features
Diffstat (limited to 'pkgs/development/libraries/openfst/default.nix')
-rw-r--r-- | pkgs/development/libraries/openfst/default.nix | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/pkgs/development/libraries/openfst/default.nix b/pkgs/development/libraries/openfst/default.nix index a8e65aebc45..0c972b29cc7 100644 --- a/pkgs/development/libraries/openfst/default.nix +++ b/pkgs/development/libraries/openfst/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, autoreconfHook }: stdenv.mkDerivation rec { pname = "openfst"; @@ -8,7 +8,24 @@ stdenv.mkDerivation rec { url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${pname}-${version}.tar.gz"; 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"; longDescription = '' 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 ''; homepage = "http://www.openfst.org/twiki/bin/view/FST/WebHome"; - license = stdenv.lib.licenses.asl20; - maintainers = [ stdenv.lib.maintainers.dfordivam ]; - platforms = stdenv.lib.platforms.unix; + license = licenses.asl20; + maintainers = [ maintainers.dfordivam ]; + platforms = platforms.unix; }; } - |