summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ruby-xdg/package.py
blob: bbfe83592aea34579fb1ba8f3c9e4817cb4db0f9 (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
# 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 RubyXdg(RubyPackage):
    """Provides a Ruby implementation of the XDG Base Directory Specification."""

    homepage = "https://www.alchemists.io/projects/xdg/"
    url = "https://rubygems.org/downloads/xdg-2.2.5.gem"

    # Source code can be found at https://github.com/bkuhlmann/xdg and
    # https://github.com/rubyworks/xdg but I was unable to get it to build
    # from source

    license("Hippocratic-2.1")

    version(
        "2.2.5",
        sha256="f3a5f799363852695e457bb7379ac6c4e3e8cb3a51ce6b449ab47fbb1523b913",
        expand=False,
    )