depot/third_party/nixpkgs/pkgs/development/libraries/phonetisaurus/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

32 lines
705 B
Nix

{ lib, stdenv
, fetchFromGitHub
, openfst
, pkg-config
, python3
}:
stdenv.mkDerivation rec {
pname = "phonetisaurus";
version = "0.9.1";
src = fetchFromGitHub {
owner = "AdolfVonKleist";
repo = pname;
rev = version;
sha256 = "1b18s5zz0l0fhqh9n9jnmgjz2hzprwzf6hx5a12zibmmam3qyriv";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ python3 openfst ];
meta = with lib; {
description = "Framework for Grapheme-to-phoneme models for speech recognition using the OpenFst framework";
inherit (src.meta) homepage;
license = licenses.bsd3;
maintainers = with maintainers; [ mic92 ];
platforms = platforms.unix;
};
}