unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 28177@debbugs.gnu.org
Subject: [bug#28177] [PATCH 06/12] gnu: Add perl-test-memory-cycle.
Date: Mon, 21 Aug 2017 19:08:26 +0100	[thread overview]
Message-ID: <20170821180832.23356-6-mail@cbaines.net> (raw)
In-Reply-To: <20170821180832.23356-1-mail@cbaines.net>

* 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 03d77bb95..d634c4456 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6845,6 +6845,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.
+
+@example
+use Test::Memory::Cycle;
+
+my $object = new MyObject;
+# Do stuff with the object.
+memory_cycle_ok( $object );
+@end example")
+    (license artistic2.0)))
+
 (define-public perl-test-mockobject
   (package
     (name "perl-test-mockobject")
-- 
2.14.1

  parent reply	other threads:[~2017-08-21 18:09 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21 18:04 [bug#28177] [PATCH] Add ikiwiki and dependencies Christopher Baines
2017-08-21 18:08 ` [bug#28177] [PATCH 01/12] gnu: Add discount Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 02/12] gnu: Add perl-text-markdown-discount Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 03/12] gnu: Add perl-test-cpan-meta-json Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 04/12] gnu: Add perl-test-cpan-meta Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 05/12] gnu: Add perl-devel-cycle Christopher Baines
2017-08-21 18:08   ` Christopher Baines [this message]
2017-08-21 18:08   ` [bug#28177] [PATCH 07/12] gnu: Add perl-test-notabs Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 08/12] gnu: Add perl-test-eol Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 09/12] gnu: Add perl-html-scrubber Christopher Baines
2017-09-10 13:25     ` Ludovic Courtès
2017-09-12 21:36       ` Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 10/12] gnu: Add perl-yaml-libyaml Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 11/12] gnu: Add perl-cgi-session Christopher Baines
2017-08-21 18:08   ` [bug#28177] [PATCH 12/12] gnu: Add ikiwiki Christopher Baines
2017-09-10 13:27     ` Ludovic Courtès
2017-09-12 21:38       ` Christopher Baines
2017-09-10 13:23   ` [bug#28177] [PATCH 01/12] gnu: Add discount Ludovic Courtès
2017-09-12 20:57     ` Christopher Baines
2017-09-12 21:38 ` Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 02/12] gnu: Add perl-text-markdown-discount Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 03/12] gnu: Add perl-test-cpan-meta-json Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 04/12] gnu: Add perl-test-cpan-meta Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 05/12] gnu: Add perl-devel-cycle Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 06/12] gnu: Add perl-test-memory-cycle Christopher Baines
2017-09-12 21:38   ` [bug#28177] [PATCH 07/12] gnu: Add perl-test-notabs Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 08/12] gnu: Add perl-test-eol Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 09/12] gnu: Add perl-html-scrubber Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 10/12] gnu: Add perl-yaml-libyaml Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 11/12] gnu: Add perl-cgi-session Christopher Baines
2017-09-12 21:39   ` [bug#28177] [PATCH 12/12] gnu: Add ikiwiki Christopher Baines
2017-09-13  8:17   ` [bug#28177] [PATCH 01/12] gnu: Add discount Ludovic Courtès
2017-09-13 17:21     ` bug#28177: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170821180832.23356-6-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=28177@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).