guix-commits
[Top][All Lists]
Advanced

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

29/38: gnu: Add ruby-sys-uname.


From: guix-commits
Subject: 29/38: gnu: Add ruby-sys-uname.
Date: Wed, 8 Jul 2020 23:42:34 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit fd6577b4e505975071fabb9eace360e158cf8027
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jul 8 13:38:04 2020 -0400

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0cd0a13..f1213f7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6558,6 +6558,29 @@ language.")
                        (package-propagated-inputs ruby-aruba))))
     (native-inputs '())))
 
+(define-public ruby-sys-uname
+  (package
+  (name "ruby-sys-uname")
+  (version "1.2.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (rubygems-uri "sys-uname" version))
+      (sha256
+        (base32
+          "00p3wwvkdbg6pl38bchaagncv3i4fq4y0ks470imwykjanpy2ic0"))))
+  (build-system ruby-build-system)
+  (arguments
+   `(#:test-target "spec"))
+  (propagated-inputs `(("ruby-ffi" ,ruby-ffi)))
+  (native-inputs `(("ruby-rspec" ,ruby-rspec)))
+  (synopsis "Ruby interface for gathering system information")
+  (description "The sys-uname library provides an interface for gathering
+information about your current platform.  It allows retrieving information
+such as the OS name, OS version, system name, etc.")
+  (home-page "https://github.com/djberg96/sys-uname";)
+  (license license:asl2.0)))
+
 (define-public ruby-cucumber
   (package
     (name "ruby-cucumber")



reply via email to

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