diff options
| author | jgart <jgart@dismail.de> | 2025-12-25 19:54:56 -0500 |
|---|---|---|
| committer | jgart <jgart@dismail.de> | 2025-12-25 20:01:49 -0500 |
| commit | 2fef5fa2463df1d366dc55b9c26a6f08094021b8 (patch) | |
| tree | f2b92b2105bd84b12724f6dc4fa1d33121b5f76c /gnu | |
| parent | c6f78e904d71a9999a5d136f03532bafabd4b794 (diff) | |
gnu: ruby-base64: Enable tests.
* gnu/packages/ruby-xyz.scm (ruby-base64): Enable tests.
[source]: Use GitHub source since gem lacks test files and update hash.
[native-inputs]: Add ruby-rake and ruby-test-unit.
Change-Id: If94acd5baa7984a4a5b441af6990847316edc2b6
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index e8e1c6bae4..035d60aed5 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm @@ -857,12 +857,16 @@ But the true aim of Serverspec is to help refactoring infrastructure code.") (version "0.3.0") (source (origin - (method url-fetch) - (uri (rubygems-uri "base64" version)) + (method git-fetch) ; The gem lacks the test files. + (uri (git-reference + (url "https://github.com/ruby/base64") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0yx9yn47a8lkfcjmigk79fykxvr80r4m1i35q82sxzynpbm7lcr7")))) + (base32 + "08n9hnbqf8hsci22zgq7ha3jxnxmw0plydc3l9zahvfawm6jplnx")))) (build-system ruby-build-system) - (arguments '(#:tests? #f)) ; No tests bundled. + (native-inputs (list ruby-rake ruby-test-unit)) (synopsis "Base64 encoding/decoding in Ruby") (description "This package provides support for encoding and decoding binary data |
