[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/20: gnu: Add ruby-hocon.
From: |
guix-commits |
Subject: |
02/20: gnu: Add ruby-hocon. |
Date: |
Wed, 20 May 2020 17:53:30 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 955981534fecdc7eed133fffff198c7ce6347677
Author: Marius Bakke <address@hidden>
AuthorDate: Wed May 20 10:33:12 2020 +0200
gnu: Add ruby-hocon.
* gnu/packages/ruby.scm (ruby-hocon): New public variable.
---
gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index adc5753..8f003f8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3560,6 +3560,38 @@ and manipulate Git repositories by wrapping system calls
to the git binary.")
(home-page "https://github.com/schacon/ruby-git")
(license license:expat)))
+(define-public ruby-hocon
+ (package
+ (name "ruby-hocon")
+ (version "1.3.0")
+ (home-page "https://github.com/puppetlabs/ruby-hocon")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wz4cswjg3gs1y1bar7j4j88wjimfa9zhvy51jyi177i5dzax416"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (invoke "rspec")
+ (format #t "test suite not run~%"))
+ #t)))))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec)))
+ (synopsis "HOCON config library")
+ (description
+ "This package provides Ruby support for the @acronym{HOCON,
+Human-Optimized Config Object Notation} configuration file format. It
+supports parsing and modifying HOCON and JSON files, and rendering parsed
+objects back to a @code{String}.")
+ (license license:asl2.0)))
+
(define-public ruby-slop
(package
(name "ruby-slop")
- branch master updated (bbac3ff -> 9b65cdd), guix-commits, 2020/05/20
- 01/20: gnu: Add ruby-deep-merge., guix-commits, 2020/05/20
- 02/20: gnu: Add ruby-hocon.,
guix-commits <=
- 03/20: gnu: Add ruby-wwtd., guix-commits, 2020/05/20
- 04/20: gnu: Add ruby-single-cov., guix-commits, 2020/05/20
- 07/20: gnu: Add ruby-maxitest., guix-commits, 2020/05/20
- 05/20: gnu: ruby-mocha: Update to 1.11.2., guix-commits, 2020/05/20
- 06/20: gnu: ruby-mocha: Update license., guix-commits, 2020/05/20
- 08/20: gnu: Add ruby-fakefs., guix-commits, 2020/05/20
- 09/20: gnu: Add ruby-gherkin-ruby., guix-commits, 2020/05/20
- 10/20: gnu: Add ruby-colorize., guix-commits, 2020/05/20
- 13/20: gnu: Add ruby-forking-test-runner., guix-commits, 2020/05/20
- 14/20: gnu: Add ruby-fast-gettext., guix-commits, 2020/05/20