ruby-gist: add new package (#34852)
This commit is contained in:
parent
8f6f77ac9f
commit
8dc3a09104
1 changed files with 21 additions and 0 deletions
21
var/spack/repos/builtin/packages/ruby-gist/package.py
Normal file
21
var/spack/repos/builtin/packages/ruby-gist/package.py
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Copyright 2013-2022 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 RubyGist(RubyPackage):
|
||||||
|
"""The gist gem provides a gist command that you can use from your terminal to upload content to https://gist.github.com/."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/defunkt/gist"
|
||||||
|
url = "https://rubygems.org/downloads/gist-6.0.0.gem"
|
||||||
|
|
||||||
|
version(
|
||||||
|
"6.0.0",
|
||||||
|
sha256="0d0a3616b1a4eec837ce4e5b5477bc809d58597ee350b2c34104acd3b00ccd62",
|
||||||
|
expand=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
depends_on("ruby@1.8:2", type=("build", "run"))
|
Loading…
Reference in a new issue