summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-08 13:38:04 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-07-08 13:38:04 -0400
commitfd6577b4e505975071fabb9eace360e158cf8027 (patch)
tree351ad8ac8b6c746ddf786b295e37a79ca609b5ef /gnu/packages/ruby.scm
parent0d2c45ce75fccf112e37403df815d9d98feedfdb (diff)
gnu: Add ruby-sys-uname.
* gnu/packages/ruby.scm (ruby-sys-uname): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0cd0a133b3..f1213f750d 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")