guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: Add ruby-rspec-mocks.


From: David Thompson
Subject: 03/06: gnu: Add ruby-rspec-mocks.
Date: Sat, 30 May 2015 00:28:18 +0000

davexunit pushed a commit to branch master
in repository guix.

commit 4f2a0cac7ff2b32cc3a024940dadcc32abab97e1
Author: David Thompson <address@hidden>
Date:   Wed May 27 21:35:43 2015 -0400

    gnu: Add ruby-rspec-mocks.
    
    * gnu/packages/ruby.scm (ruby-rspec-mocks): 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 a77b684..d519ffc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -264,3 +264,28 @@ standard diff-like tool.")
 outcomes of a code example.")
     (home-page "https://github.com/rspec/rspec-expectations";)
     (license license:expat)))
+
+(define-public ruby-rspec-mocks
+  (package
+    (name "ruby-rspec-mocks")
+    (version "3.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/rspec/rspec-mocks/archive/v";
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1xzxsg0idxkg7czmjgqq10lcd821ibw1hjzn404sk9j6rw0fbx2g"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; avoid dependency cycles
+    (propagated-inputs
+     `(("ruby-rspec-support" ,ruby-rspec-support)
+       ("ruby-diff-lcs" ,ruby-diff-lcs-for-rspec)))
+    (synopsis "RSpec stubbing and mocking library")
+    (description "Rspec-mocks provides RSpec's \"test double\" framework, with
+support for stubbing and mocking.")
+    (home-page "https://github.com/rspec/rspec-mocks";)
+    (license license:expat)))



reply via email to

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