nixpkgs/pkgs/by-name/op/opengrm-ngram/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
753 B
Nix
Raw Normal View History

{
lib,
stdenv,
autoreconfHook,
fetchurl,
openfst,
}:
2020-08-01 17:54:43 +00:00
stdenv.mkDerivation rec {
pname = "opengrm-ngram";
2024-09-01 11:14:03 +00:00
version = "1.3.16";
2020-08-01 17:54:43 +00:00
src = fetchurl {
url = "http://www.openfst.org/twiki/pub/GRM/NGramDownload/ngram-${version}.tar.gz";
2024-09-01 11:14:03 +00:00
hash = "sha256-pcwP0VVW8H+0Y2Fsmh4WaH4whPPJlE3WyBI4VJfsES4=";
2020-08-01 17:54:43 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openfst ];
enableParallelBuilding = true;
meta = with lib; {
2020-08-01 17:54:43 +00:00
description = "Library to make and modify n-gram language models encoded as weighted finite-state transducers";
2021-12-31 18:49:33 +00:00
homepage = "https://www.openfst.org/twiki/bin/view/GRM/NGramLibrary";
2020-08-01 17:54:43 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
};
}