nixpkgs-suyu/pkgs/development/libraries/openfst/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
947 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "openfst";
version = "1.7.2";
src = fetchurl {
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${pname}-${version}.tar.gz";
sha256 = "0fqgk8195kz21is09gwzwnrg7fr9526bi9mh4apyskapz27pbhr1";
};
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;
};
}