summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ruby-rubyinline/package.py
blob: 1dec713fe97061007a5089e21e20438065b73486 (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
# Copyright 2013-2023 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 RubyRubyinline(RubyPackage):
    """Inline allows you to write foreign code within your ruby code."""

    homepage = "https://www.zenspider.com/projects/rubyinline.html"
    url = "https://rubygems.org/downloads/RubyInline-3.12.5.gem"

    # Source code available at https://github.com/seattlerb/rubyinline
    # but I had trouble getting the Rakefile to build

    version(
        "3.12.5",
        sha256="d4559cb86b7fedd2e9b4b0a3bd99a1955186dbc09f1269920a0dd5c67639c156",
        expand=False,
    )

    depends_on("ruby-zentest@4.3:4", type=("build", "run"))