summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/mosesdecoder/package.py
blob: a797598658767bbc2f8ba015ea938e611c1b15c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


from spack.package import *


class Mosesdecoder(Package):
    """An implementation of the statistical approach to machine translation"""

    homepage = "http://www2.statmt.org/moses/"
    url = "https://github.com/moses-smt/mosesdecoder/archive/refs/tags/RELEASE-4.0.tar.gz"

    license("LGPL-2.1-or-later")

    version("4.0", sha256="357376cdbb225a17cdf17195625d0fa7e10d722807e9e0b8a633ffbd7eec9b8f")

    depends_on("git")
    depends_on("subversion")
    depends_on("cmake")
    depends_on("libtool")
    depends_on("tcl")
    depends_on("gcc")
    depends_on("boost")
    depends_on("zlib-api")
    depends_on("python")