diff options
author | David Zmick <david@dpzmick.com> | 2023-01-10 16:14:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 14:14:49 -0800 |
commit | 8dc3a09104daaa1d484f67d98d26ece3f1d5ac21 (patch) | |
tree | de69a101ca20dfd2cf2c4d4c32986320d581fd8f | |
parent | 8f6f77ac9fd2c36a39b86f297645fe10ec21c7cf (diff) | |
download | spack-8dc3a09104daaa1d484f67d98d26ece3f1d5ac21.tar.gz spack-8dc3a09104daaa1d484f67d98d26ece3f1d5ac21.tar.bz2 spack-8dc3a09104daaa1d484f67d98d26ece3f1d5ac21.tar.xz spack-8dc3a09104daaa1d484f67d98d26ece3f1d5ac21.zip |
ruby-gist: add new package (#34852)
-rw-r--r-- | var/spack/repos/builtin/packages/ruby-gist/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ruby-gist/package.py b/var/spack/repos/builtin/packages/ruby-gist/package.py new file mode 100644 index 0000000000..0165bf00cc --- /dev/null +++ b/var/spack/repos/builtin/packages/ruby-gist/package.py @@ -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")) |