guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/28: gnu: Add ruby-ipaddr.


From: guix-commits
Subject: 03/28: gnu: Add ruby-ipaddr.
Date: Sat, 24 Feb 2024 10:51:08 -0500 (EST)

htgoebel pushed a commit to branch master
in repository guix.

commit 10f72f90b35b126579462dcbe2cf23baf2bcc8d0
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sun Jul 23 18:38:06 2023 +0200

    gnu: Add ruby-ipaddr.
    
    * gnu/packages/ruby.scm (ruby-ipaddr): New variable.
---
 gnu/packages/ruby.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]