mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add ruby-rspec-mocks.
* gnu/packages/ruby.scm (ruby-rspec-mocks): New variable.
This commit is contained in:
parent
e69620098b
commit
4f2a0cac7f
1 changed files with 25 additions and 0 deletions
|
@ -264,3 +264,28 @@ (define-public ruby-rspec-expectations
|
||||||
outcomes of a code example.")
|
outcomes of a code example.")
|
||||||
(home-page "https://github.com/rspec/rspec-expectations")
|
(home-page "https://github.com/rspec/rspec-expectations")
|
||||||
(license license:expat)))
|
(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)))
|
||||||
|
|
Loading…
Reference in a new issue