mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
26 lines
744 B
Nix
26 lines
744 B
Nix
{ lib, stdenv, autoreconfHook, fetchurl, openfst }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "opengrm-ngram";
|
|
version = "1.3.13";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.openfst.org/twiki/pub/GRM/NGramDownload/ngram-${version}.tar.gz";
|
|
sha256 = "sha256-5CXf6OXs7owny3yZQrWYA6yhIyN0dgA2B8TSDEUTF1Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openfst ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Library to make and modify n-gram language models encoded as weighted finite-state transducers";
|
|
homepage = "https://www.openfst.org/twiki/bin/view/GRM/NGramLibrary";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ mic92 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|