summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2023-07-23 18:38:06 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2024-02-24 16:42:40 +0100
commit10f72f90b35b126579462dcbe2cf23baf2bcc8d0 (patch)
tree46ba32ede865756d16dc8eef3b57a3d84be68855 /gnu/packages/ruby.scm
parent8bd01bb2d1a772f5975b2c666f54dae1b634d573 (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.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7b3312271d0..6556c3a00ca 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4427,6 +4427,27 @@ help tests uncover more bugs.")
4427 (home-page "https://github.com/jordansissel/ruby-flores") 4427 (home-page "https://github.com/jordansissel/ruby-flores")
4428 (license license:asl2.0))) 4428 (license license:asl2.0)))
4429 4429
4430(define-public ruby-ipaddr
4431 (package
4432 (name "ruby-ipaddr")
4433 (version "1.2.6")
4434 (source (origin
4435 (method git-fetch) ;for tests
4436 (uri (git-reference
4437 (url "https://github.com/ruby/ipaddr")
4438 (commit (string-append "v" version))))
4439 (file-name (git-file-name name version))
4440 (sha256
4441 (base32
4442 "0h3z8i1fa8s4gx48322fflhpkzghd4bmd9109hglsgdkic7b0dyp"))))
4443 (build-system ruby-build-system)
4444 (native-inputs (list ruby-test-unit-ruby-core))
4445 (synopsis "Manipulate IP addresses")
4446 (description "This package provides a set of methods to manipulate an IP
4447address. Both IPv4 and IPv6 are supported.")
4448 (home-page "https://github.com/ruby/ipaddr")
4449 (license license:bsd-2)))
4450
4430(define-public ruby-net-http-persistent 4451(define-public ruby-net-http-persistent
4431 (package 4452 (package
4432 (name "ruby-net-http-persistent") 4453 (name "ruby-net-http-persistent")