summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ruby-rubyinline/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/ruby-rubyinline/package.py')
-rw-r--r--var/spack/repos/builtin/packages/ruby-rubyinline/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ruby-rubyinline/package.py b/var/spack/repos/builtin/packages/ruby-rubyinline/package.py
new file mode 100644
index 0000000000..f3ab0cd49b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ruby-rubyinline/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2018 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 import *
+
+
+class RubyRubyinline(Package):
+ """Inline allows you to write foreign code within your ruby code."""
+
+ homepage = "https://rubygems.org/gems/RubyInline"
+ url = "https://rubygems.org/downloads/RubyInline-3.12.4.gem"
+
+ version('3.12.4', '3058f4c48e62baef811b127f4925ee70', expand=False)
+
+ extends('ruby')
+
+ def install(self, spec, prefix):
+ gem('install', 'RubyInline-{0}.gem'.format(self.version))