GNU bug report logs - #70591
[PATCH 00/14] Updated series to update gnucash to 5.6 / aqbanking 6.5.4 / gwenhywfar 5.10.2

Previous Next

Package: guix-patches;

Reported by: Julian Flake <flake <at> uni-koblenz.de>

Date: Fri, 26 Apr 2024 11:44:10 UTC

Severity: normal

Tags: patch

Done: Julian Flake <flake <at> uni-koblenz.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Julian Flake <flake <at> uni-koblenz.de>
To: 70222 <at> debbugs.gnu.org
Cc: steve <at> futurile.net, 70591 <at> debbugs.gnu.org
Subject: [bug#70591] [PATCH v2 08/14] gnu: Add perl-sub-override.
Date: Fri, 26 Apr 2024 13:42:02 +0200
From: Steve George <steve <at> futurile.net>

* gnu/packages/crates-io.scm (perl-sub-override): New variable.

Change-Id: I5a366862bb5bfd777094e2d58239d50aad95577c

-- >8 --
Originally part of https://issues.guix.gnu.org/44447

Change-Id: Ib4542ceedcff114e1184fc8bafac0f76985b78be
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 362957d5f5..a72c3af765 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -38,6 +38,7 @@
 ;;; Copyright © 2023 Andreas Enge <andreas <at> enge.fr>
 ;;; Copyright © 2023 Jake Leporte <jakeleporte <at> outlook.com>
 ;;; Copyright © 2023 Nicolas Graves <ngraves <at> ngraves.fr>
+;;; Copyright © 2020, 2023 Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -10118,6 +10119,26 @@ (define-public perl-sub-name
 return value is the sub.")
     (license (package-license perl))))
 
+(define-public perl-sub-override
+  (package
+    (name "perl-sub-override")
+    (version "0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://cpan.metacpan.org/authors/id/O/OV/OVID/Sub-Override-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "0ixbaxhnicx90483rqhcz5dzqzxfwjxf2crghw3lgmasairwr3bd"))))
+    (native-inputs `(("perl-test-fatal" ,perl-test-fatal)))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Sub-Override")
+    (synopsis "Perl extension to override a subroutine")
+    (description "A @code{Sub::Override}} module that makes it easy to override
++subroutines.  Particularly useful for mocking in tests.")
+    (license (package-license perl))))
+
 (define-public perl-sub-quote
   (package
     (name "perl-sub-quote")
-- 
2.41.0





This bug report was last modified 1 year and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.