Skip to content
Snippets Groups Projects
Commit 1f1d71e0 authored by Ben Woodcroft's avatar Ben Woodcroft
Browse files

gnu: Add ruby-rc4.

* gnu/packages/ruby.scm (ruby-rc4): New variable.
parent 72ccbfe3
No related branches found
No related tags found
No related merge requests found
......@@ -3207,3 +3207,29 @@ (define-public ruby-hashery
specific use case.")
(home-page "http://rubyworks.github.io/hashery")
(license license:bsd-2)))
(define-public ruby-rc4
(package
(name "ruby-rc4")
(version "0.1.5")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "ruby-rc4" version))
(sha256
(base32
"00vci475258mmbvsdqkmqadlwn6gj9m01sp7b5a3zd90knil1k00"))))
(build-system ruby-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(zero? (system* "rspec" "spec/rc4_spec.rb")))))))
(native-inputs
`(("ruby-rspec" ,ruby-rspec-2)))
(synopsis "Implementation of the RC4 algorithm")
(description
"RubyRC4 is a pure Ruby implementation of the RC4 algorithm.")
(home-page "https://github.com/caiges/Ruby-RC4")
(license license:expat)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment