[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/15: gnu: Add ruby-ed25519.
From: |
guix-commits |
Subject: |
02/15: gnu: Add ruby-ed25519. |
Date: |
Mon, 10 Jul 2023 07:40:25 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 6a4ae3528ff9f93bdcdb62ee049f5214645d0aff
Author: gemmaro <gemmaro.dev@gmail.com>
AuthorDate: Sun Jul 9 14:57:18 2023 +0900
gnu: Add ruby-ed25519.
* gnu/packages/ruby.scm (ruby-ed25519): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ruby.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f2111ee858..a2a691a514 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -16724,6 +16724,57 @@ process citations, a dedicated processor engine is
required: a pure Ruby
engine is available in the @code{citeproc-ruby} gem.")
(license (list license:agpl3+ license:bsd-2))))
+(define-public ruby-ed25519
+ (package
+ (name "ruby-ed25519")
+ (version "1.3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/RubyCrypto/ed25519")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jm5w2dyhyrndcx0d02v0gjbzl1abhbx2wkp3gxzwcndghmkz98r"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:test-target "spec"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'compile
+ (lambda _
+ (invoke "rake" "compile")))
+ (add-after 'unpack 'remove-unnecessary-dependencies
+ (lambda _
+ ;; Coveralls relates to a network service, and RuboCop to code
+ ;; linting and both are unnecessary to run the tests
+ (substitute* "Gemfile"
+ ((".*coveralls.*")
+ "\n")
+ ((".*rubocop.*")
+ "\n"))
+ (substitute* "spec/spec_helper.rb"
+ (("require \"coveralls\"")
+ "")
+ (("Coveralls.wear!")
+ ""))
+ (substitute* "Rakefile"
+ (("require \"rubocop/rake_task\"")
+ "")
+ (("RuboCop::RakeTask.new")
+ "")))))))
+ (native-inputs (list ruby-rake-compiler ruby-rspec))
+ (synopsis
+ "Ruby binding to the Ed25519 elliptic curve public-key signature system")
+ (description
+ "This package provides a Ruby binding to the Ed25519 elliptic curve
+public-key signature system described in
+@url{https://www.ietf.org/rfc/rfc8032.txt, RFC 8032}.")
+ (home-page "https://github.com/RubyCrypto/ed25519")
+ (license license:expat)))
+
(define-public ruby-edtf
(package
(name "ruby-edtf")
- 13/15: gnu: python-blessed: Add missing dependency., (continued)
- 13/15: gnu: python-blessed: Add missing dependency., guix-commits, 2023/07/10
- 04/15: gnu: ruby-rbnacl: Use new package style., guix-commits, 2023/07/10
- 05/15: gnu: Add ruby-x25519., guix-commits, 2023/07/10
- 12/15: gnu: ruby-hamster: Fix build., guix-commits, 2023/07/10
- 11/15: gnu: ruby-terraform: Update to 1.7.0., guix-commits, 2023/07/10
- 10/15: gnu: Add ruby-faker., guix-commits, 2023/07/10
- 14/15: gnu: python-curtsies: Update to 0.4.1., guix-commits, 2023/07/10
- 07/15: gnu: ruby-i18n: Update to 1.13.0., guix-commits, 2023/07/10
- 06/15: gnu: ruby-net-ssh: Update to 7.1.0., guix-commits, 2023/07/10
- 09/15: gnu: Add ruby-immutable-struct., guix-commits, 2023/07/10
- 02/15: gnu: Add ruby-ed25519.,
guix-commits <=
- 08/15: gnu: ruby-lino: Update to 3.1.0., guix-commits, 2023/07/10
- 15/15: gnu: bpython: Update to 0.24., guix-commits, 2023/07/10
- 03/15: gnu: ruby-rbnacl: Update to 7.1.1., guix-commits, 2023/07/10