blob: 083e20bb5caf82f4ab73c6a22333416dfc173431 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 RubyTerminalTable(Package):
"""Simple, feature rich ascii table generation library"""
homepage = "https://rubygems.org/gems/terminal-table"
url = "https://rubygems.org/downloads/terminal-table-1.8.0.gem"
version('1.8.0', 'd78db9d71f70aaadd7e689641078e7e7', expand=False)
extends('ruby')
def install(self, spec, prefix):
gem('install', 'terminal-table-{0}.gem'.format(self.version))
|