diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2023-07-23 18:38:06 +0200 |
---|---|---|
committer | Josselin Poiret <dev@jpoiret.xyz> | 2024-03-09 15:55:54 +0100 |
commit | 2694dface9724d82fc45def53ea9c44a52b5cc61 (patch) | |
tree | 56223ffe5b89be8884013d582e995d525b163cd1 /gnu/packages/ruby.scm | |
parent | 0f5af2eef980045d0f0395a676ed362b77bc2703 (diff) |
gnu: Add ruby-ipaddr.
* gnu/packages/ruby.scm (ruby-ipaddr): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7b3312271d..6556c3a00c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4427,6 +4427,27 @@ help tests uncover more bugs.") (home-page "https://github.com/jordansissel/ruby-flores") (license license:asl2.0))) +(define-public ruby-ipaddr + (package + (name "ruby-ipaddr") + (version "1.2.6") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/ruby/ipaddr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h3z8i1fa8s4gx48322fflhpkzghd4bmd9109hglsgdkic7b0dyp")))) + (build-system ruby-build-system) + (native-inputs (list ruby-test-unit-ruby-core)) + (synopsis "Manipulate IP addresses") + (description "This package provides a set of methods to manipulate an IP +address. Both IPv4 and IPv6 are supported.") + (home-page "https://github.com/ruby/ipaddr") + (license license:bsd-2))) + (define-public ruby-net-http-persistent (package (name "ruby-net-http-persistent") |