summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ruby-unicode-display-width/package.py
blob: 6f4073e097e92a24c739b349c5fe5beaa5396b53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2013-2020 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)


class RubyUnicodeDisplayWidth(RubyPackage):
    """Determines the monospace display width of a string in Ruby."""

    homepage = "https://github.com/janlelis/unicode-display_width"
    url      = "https://github.com/janlelis/unicode-display_width/archive/v1.7.0.tar.gz"

    version('1.7.0', sha256='2dd6faa95e022a9f52841d29be6c622c58fff9fb0b84fb2cb30d4f0e13fa8a73')

    depends_on('ruby@1.9.3:', type=('build', 'run'))