[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: Add ruby-useragent.
From: |
David Thompson |
Subject: |
06/06: gnu: Add ruby-useragent. |
Date: |
Sat, 30 May 2015 00:28:19 +0000 |
davexunit pushed a commit to branch master
in repository guix.
commit 98b87b82bef87c7794365e26832bbd1afb013721
Author: David Thompson <address@hidden>
Date: Wed May 27 21:38:28 2015 -0400
gnu: Add ruby-useragent.
* gnu/packages/ruby.scm (ruby-useragent): New variable.
---
gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3d23e74..9943de7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -339,3 +339,28 @@ expectations and mocks frameworks.")
specified in a \"Gemfile\", as well as their dependencies.")
(home-page "http://bundler.io/")
(license license:expat)))
+
+(define-public ruby-useragent
+ (package
+ (name "ruby-useragent")
+ (version "0.13.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/gshutler/useragent/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hj00fw06i0y3rwxxhxmnrqxhpnffv4zfqx2sqqpc5qc4fdvd2x9"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:test-target "spec"))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)
+ ("bundler" ,bundler)))
+ (synopsis "HTTP user agent parser for Ruby")
+ (description "UserAgent is a Ruby library that parses and compares HTTP
+User Agents.")
+ (home-page "https://github.com/gshutler/useragent")
+ (license license:expat)))
- branch master updated (969ee40 -> 98b87b8), David Thompson, 2015/05/29
- 01/06: gnu: Add ruby-rspec-core., David Thompson, 2015/05/29
- 02/06: gnu: Add ruby-rspec-expectations., David Thompson, 2015/05/29
- 04/06: gnu: Add ruby-rspec., David Thompson, 2015/05/29
- 06/06: gnu: Add ruby-useragent.,
David Thompson <=
- 03/06: gnu: Add ruby-rspec-mocks., David Thompson, 2015/05/29
- 05/06: gnu: Add bundler., David Thompson, 2015/05/29