3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/openfst/default.nix
Patrick Mahoney 51a586729a openfst: relax platform requirement to include darwin
This builds on darwin. I was able to use it to compile another package
on darwin that depends on openfst, though I have not done extensive
testing.
2019-01-15 11:29:19 -06:00

26 lines
967 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "openfst";
version = "1.6.9";
src = fetchurl {
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${name}.tar.gz";
sha256 = "1nlbk7qarz2qv3apz1cxf5avjhlqfq2r8kxad0095kfyqz05jnfy";
};
meta = {
description = "Library for working with finite-state transducers";
longDescription = ''
Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs).
FSTs have key applications in speech recognition and synthesis, machine translation, optical character recognition,
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;
};
}