[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
205/229: gnu: Add ruby-snaky-hash.
From: |
guix-commits |
Subject: |
205/229: gnu: Add ruby-snaky-hash. |
Date: |
Tue, 28 Mar 2023 22:29:24 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit d0b3e8984271ba3852a5a26e16b54e72d807f2e3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Mar 16 10:50:48 2023 -0400
gnu: Add ruby-snaky-hash.
* gnu/packages/ruby.scm (ruby-snaky-hash): New variable.
---
gnu/packages/ruby.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 368919f631..cfa0e9b1fc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3798,6 +3798,49 @@ lcov-style coverage report.")
(home-page "https://github.com/fortissimo1997/simplecov-lcov")
(license license:expat)))
+(define-public ruby-snaky-hash
+ (package
+ (name "ruby-snaky-hash")
+ (version "2.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference ;for tests
+ (url "https://gitlab.com/oauth-xx/snaky_hash")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0zmixxzi2g2d75zii65bq037j4g67p25l6aqddbmmwizspsp5az6"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "Gemfile"
+ (("^linting = .*")
+ "linting = false\n")
+ (("^coverage = .*")
+ "coverage = false\n")
+ (("^debug = .*")
+ "debug = false\n"))
+ (substitute* "spec/spec_helper.rb"
+ (("^RUN_COVERAGE = .*")
+ "RUN_COVERAGE = false\n")
+ (("^ALL_FORMATTERS = .*")
+ "ALL_FORMATTERS = false\n"))))
+ (add-before 'build 'drop-signing-key-requirement
+ (lambda _
+ (substitute* "snaky_hash.gemspec"
+ (("spec.signing_key =.*")
+ "spec.signing_key = nil")))))))
+ (native-inputs (list ruby-rspec ruby-rspec-block-is-expected))
+ (propagated-inputs (list ruby-hashie ruby-version-gem))
+ (synopsis "Hash keys and look-ups normalization Ruby library")
+ (description "The SnakyHash Ruby library provides classes for normalizing
+hash keys and look-ups, and a pseudo-object interface.")
+ (home-page "https://gitlab.com/oauth-xx/snaky_hash")
+ (license license:expat)))
+
(define-public ruby-useragent
(package
(name "ruby-useragent")
- 170/229: gnu: ruby-spring: Update to 4.1.1., (continued)
- 170/229: gnu: ruby-spring: Update to 4.1.1., guix-commits, 2023/03/28
- 187/229: gnu: ruby-terminal-table: Update to 3.0.2., guix-commits, 2023/03/28
- 193/229: gnu: ruby-shoulda: Update to 4.0.0., guix-commits, 2023/03/28
- 195/229: gnu: ruby-unf-ext: Update to 0.0.8.2., guix-commits, 2023/03/28
- 196/229: gnu: jekyll: Use gexps and remove input labels., guix-commits, 2023/03/28
- 203/229: gnu: Add ruby-version-gem., guix-commits, 2023/03/28
- 207/229: gnu: ruby-omniauth: Update to 2.1.1., guix-commits, 2023/03/28
- 209/229: gnu: ruby-cuke-modeler: Update to 3.19.0 and enable tests., guix-commits, 2023/03/28
- 191/229: gnu: ruby-shoulda-matchers: Update to 5.3.0., guix-commits, 2023/03/28
- 194/229: gnu: ruby-shoulda: Honor #:tests?., guix-commits, 2023/03/28
- 205/229: gnu: Add ruby-snaky-hash.,
guix-commits <=
- 206/229: gnu: ruby-oauth2: Update to 2.0.9 and enable tests., guix-commits, 2023/03/28
- 163/229: gnu: ruby-globalid: Move to (gnu packages rails)., guix-commits, 2023/03/28
- 175/229: gnu: Add perl-app-cpanminus., guix-commits, 2023/03/28
- 180/229: gnu: ruby-braintree: Update to 4.10.0., guix-commits, 2023/03/28
- 184/229: gnu: ruby-prawn-svg: Fix build., guix-commits, 2023/03/28
- 188/229: gnu: ruby-liquid: Update to 4.0.3., guix-commits, 2023/03/28
- 200/229: gnu: Add ruby-ruby-version., guix-commits, 2023/03/28
- 201/229: gnu: Add ruby-rspec-pending-for., guix-commits, 2023/03/28
- 219/229: gnu: Add ruby-spy., guix-commits, 2023/03/28
- 220/229: gnu: Add ruby-liquid-c-bootstrap., guix-commits, 2023/03/28