summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2015-10-07 18:43:43 +1000
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-10-15 12:20:49 +0200
commit6da9adebaa75cbb8af0f60684055d6dea01240c0 (patch)
treedd75965cdeab4dca83732ad8191c73d84de63ad2 /gnu
parentfb157f2507fbf5f83975a6b5c6c92b05270324bb (diff)
downloadguix-6da9adebaa75cbb8af0f60684055d6dea01240c0.tar.gz
gnu: Add ruby-rspec-mocks-2.
* gnu/packages/ruby.scm (ruby-rspec-mocks-2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1093077d3b..2d94632fe1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -347,6 +347,18 @@ support for stubbing and mocking.")
     (home-page "https://github.com/rspec/rspec-mocks")
     (license license:expat)))
 
+(define-public ruby-rspec-mocks-2
+  (package (inherit ruby-rspec-mocks)
+    (version "2.14.6")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "rspec-mocks" version))
+              (sha256
+               (base32
+                "1fwsmijd6w6cmqyh4ky2nq89jrpzh56hzmndx9wgkmdgfhfakv30"))))
+    (propagated-inputs
+     `(("ruby-diff-lcs" ,ruby-diff-lcs)))))
+
 (define-public ruby-rspec
   (package
     (name "ruby-rspec")