[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/12: gnu: Add perl-test-memory-cycle.
From: |
Christopher Baines |
Subject: |
06/12: gnu: Add perl-test-memory-cycle. |
Date: |
Wed, 13 Sep 2017 13:20:05 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 3d74955842d5e6d5db531a0588e13e34bb73e6d6
Author: Christopher Baines <address@hidden>
Date: Mon Aug 21 15:56:30 2017 +0100
gnu: Add perl-test-memory-cycle.
* gnu/packages/perl.scm (perl-test-memory-cycle): New variable.
---
gnu/packages/perl.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 44f85da..0627db1 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7397,6 +7397,42 @@ file to find out which tests you want to run and the
order in which you want to
It constructs the right value for the build system to do the right thing.")
(license (package-license perl))))
+(define-public perl-test-memory-cycle
+ (package
+ (name "perl-test-memory-cycle")
+ (version "1.06")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "00ijmgx1r3cxrcs1qa9rb2s4gbm3nsawd90drda89kb4r7yxslwx"))))
+ (build-system perl-build-system)
+ (inputs
+ `(("perl-padwalker" ,perl-padwalker)))
+ (propagated-inputs
+ `(("perl-devel-cycle" ,perl-devel-cycle)))
+ (home-page
+ "http://search.cpan.org/dist/Test-Memory-Cycle")
+ (synopsis
+ "Verifies code hasn't left circular references")
+ (description
+ "@code{Test::Memory::Cycle} is built on top of @code{Devel::Cycle} to
+give you an easy way to check for these circular references.
+
address@hidden
+use Test::Memory::Cycle;
+
+my $object = new MyObject;
+# Do stuff with the object.
+memory_cycle_ok( $object );
address@hidden example")
+ (license artistic2.0)))
+
(define-public perl-test-mockobject
(package
(name "perl-test-mockobject")
- branch master updated (921bb35 -> 909dcf5), Christopher Baines, 2017/09/13
- 02/12: gnu: Add perl-text-markdown-discount., Christopher Baines, 2017/09/13
- 08/12: gnu: Add perl-test-eol., Christopher Baines, 2017/09/13
- 01/12: gnu: Add discount., Christopher Baines, 2017/09/13
- 07/12: gnu: Add perl-test-notabs., Christopher Baines, 2017/09/13
- 04/12: gnu: Add perl-test-cpan-meta., Christopher Baines, 2017/09/13
- 05/12: gnu: Add perl-devel-cycle., Christopher Baines, 2017/09/13
- 06/12: gnu: Add perl-test-memory-cycle.,
Christopher Baines <=
- 10/12: gnu: Add perl-yaml-libyaml., Christopher Baines, 2017/09/13
- 11/12: gnu: Add perl-cgi-session., Christopher Baines, 2017/09/13
- 03/12: gnu: Add perl-test-cpan-meta-json., Christopher Baines, 2017/09/13
- 09/12: gnu: Add perl-html-scrubber., Christopher Baines, 2017/09/13
- 12/12: gnu: Add ikiwiki., Christopher Baines, 2017/09/13