[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/25: gnu: Add perl6-test-mock.
From: |
guix-commits |
Subject: |
21/25: gnu: Add perl6-test-mock. |
Date: |
Tue, 12 Mar 2019 16:21:37 -0400 (EDT) |
efraim pushed a commit to branch wip-perl6
in repository guix.
commit 92b54f119b4a681ba02d8e78fb87a256799a9c32
Author: Efraim Flashner <address@hidden>
Date: Sun Mar 10 21:40:56 2019 +0200
gnu: Add perl6-test-mock.
* gnu/packages/perl6.scm (perl6-test-mock): New variable.
---
gnu/packages/perl6.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index 1d47562..b1e2f10 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -580,6 +580,33 @@ minimal wrapper around an instance of this module.")
some confidence that they have a working distribution META description file.")
(license license:artistic2.0)))
+(define-public perl6-test-mock
+ (package
+ (name "perl6-test-mock")
+ (version "1.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jnthn/test-mock")
+ ;; The commit where 1.5 was "tagged"
+ (commit "6eddb42f73f40b9ac29c14badb41ce4a04d876f2")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07yr3qimc8fl29p23562ayj2j9h53madcnf9sgqvgf2kcprh0zd2"))))
+ (build-system rakudo-build-system)
+ (propagated-inputs
+ `(("perl6-oo-monitors" ,perl6-oo-monitors)))
+ (home-page "https://github.com/jnthn/test-mock")
+ (synopsis "Module for simply generating and checking mock objects")
+ (description "@code{Test::Mock} is a module that works alongside the
+standard Test module to help you write tests when you want to verify what
+methods are called on an object, while still having calls to undefined methods
+die. You get started just as normal with the test file, but also add a use
+statement for @code{Test::Mock}.")
+ (license license:artistic2.0)))
+
(define-public perl6-uri
(package
(name "perl6-uri")
- 24/25: gnu: Add perl6-mime-base64., (continued)
- 24/25: gnu: Add perl6-mime-base64., guix-commits, 2019/03/12
- 22/25: gnu: Add perl6-grammar-profiler-simple., guix-commits, 2019/03/12
- 06/25: gnu: Add perl6-zef., guix-commits, 2019/03/12
- 10/25: gnu: Add perl6-json-unmarshal., guix-commits, 2019/03/12
- 09/25: gnu: Add perl6-json-name., guix-commits, 2019/03/12
- 05/25: gnu: Add perl6-tap-harness., guix-commits, 2019/03/12
- 15/25: gnu: Add perl6-test-meta., guix-commits, 2019/03/12
- 16/25: gnu: Add perl6-xml-writer., guix-commits, 2019/03/12
- 23/25: gnu: Add perl6-grammar-debugger., guix-commits, 2019/03/12
- 17/25: gnu: Add perl6-svg., guix-commits, 2019/03/12
- 21/25: gnu: Add perl6-test-mock.,
guix-commits <=
- 04/25: build: Add rakudo-build-system., guix-commits, 2019/03/12
- 13/25: gnu: Add perl6-meta6., guix-commits, 2019/03/12
- 11/25: gnu: Add perl6-json-marshal., guix-commits, 2019/03/12
- 19/25: gnu: Add perl6-terminal-ansicolor., guix-commits, 2019/03/12
- 20/25: gnu: Add perl6-oo-monitors., guix-commits, 2019/03/12