GNU bug report logs - #63894
[PATCH] Add SpamAssassin, Debbugs dependencies

Previous Next

Package: guix-patches;

Reported by: Antero Mejr <antero <at> mailbox.org>

Date: Sun, 4 Jun 2023 17:37:01 UTC

Severity: normal

Tags: patch

Done: "Danny Milosavljevic" <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Antero Mejr <antero <at> mailbox.org>
To: 63894 <at> debbugs.gnu.org
Subject: [bug#63894] [PATCH 30/55] gnu: Add perl-package-variant.
Date: Sun,  4 Jun 2023 17:42:24 +0000
* gnu/packages/perl.scm (perl-package-variant): New variable.
---
 gnu/packages/perl.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index afcc708458..714f31ccea 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8899,6 +8899,36 @@ (define-public perl-package-stash-xs
 compiler.")
     (license (package-license perl))))
 
+(define-public perl-package-variant
+  (package
+    (name "perl-package-variant")
+    (version "1.003002")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/M/MS/MSTROUT/Package-Variant-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1p1n2ny5fb15bcbykyn523w6sv968gqs7nhjfm36dpac5yfq9vdj"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-moo perl-test-fatal perl-test-most))
+    (propagated-inputs (list perl-carp
+                             perl-import-into
+                             perl-module-runtime
+                             perl-strictures-2))
+    (home-page "https://metacpan.org/release/Package-Variant")
+    (synopsis "Parameterizable packages")
+    (description
+     "This module allows you to build a variable package that contains a
+package template and can use it to build variant packages at runtime.  Your
+variable package will export a subroutine which will build a variant package,
+combining its arguments with the template, and return the name of the new
+variant package.  The implementation does not care about what kind of packages
+it builds, be they simple function exporters, classes, singletons or something
+else.")
+    (license license:perl-license)))
+
 (define-public perl-padwalker
   (package
     (name "perl-padwalker")
-- 
2.39.2





This bug report was last modified 148 days ago.

Previous Next


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