all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruno Victal <mirai@makinata.eu>
To: 60824@debbugs.gnu.org
Cc: Bruno Victal <mirai@makinata.eu>
Subject: [bug#60824] [PATCH 1/2] gnu: perl-xml-xpath: Wrap xpath command.
Date: Sun, 15 Jan 2023 01:20:47 +0000	[thread overview]
Message-ID: <024ddbe123ad4d22ca508e1cb998da48fb16338b.1673745598.git.mirai@makinata.eu> (raw)

* gnu/packages/xml.scm (perl-xml-xpath)[arguments]: Wrap xpath.
[description]: Document xpath command presence.
---
 gnu/packages/xml.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index b5065f9f30..7fdc3a2e32 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2021 David Larsson <david.larsson@selfhosted.xyz>
 ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
+;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1050,6 +1051,16 @@ (define-public perl-xml-xpath
                (base32
                 "03yxj7w5a43ibbpiqsvb3lswj2b71dydsx4rs2fw0p8n0l3i3j8w"))))
     (build-system perl-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'wrap 'wrap-xpath
+            (lambda _
+              (wrap-program (string-append #$output "/bin/xpath")
+                `("PERL5LIB" ":" prefix
+                  ,(cons (string-append #$output "/lib/perl5/site_perl")
+                         (string-split (getenv "PERL5LIB") #\:)))))))))
     (native-inputs
      (list perl-path-tiny))
     (propagated-inputs
@@ -1059,7 +1070,7 @@ (define-public perl-xml-xpath
     (description
      "This module aims to comply exactly to the @url{XPath specification,
 https://www.w3.org/TR/xpath} and yet allow extensions to be added in
-the form of functions.")
+the form of functions. It also provides the command @command{xpath}.")
     (license license:perl-license)))
 
 (define-public pugixml

base-commit: fb3085e80fd3d4559057b60d9e2c1c1f1ff51022
-- 
2.38.1





             reply	other threads:[~2023-01-15  1:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15  1:20 Bruno Victal [this message]
2023-01-15  1:22 ` [bug#60824] [PATCH 2/2] gnu: perl-xml-xpath: Update to 1.48 Bruno Victal
2023-05-06 16:07 ` [bug#60824] bump Bruno Victal
2023-05-18 17:33 ` [bug#60824] [PATCH v2 1/2] gnu: perl-xml-xpath: Wrap xpath command Bruno Victal
2023-05-18 17:33 ` [bug#60824] [PATCH v2 2/2] gnu: perl-xml-xpath: Update to 1.48 Bruno Victal
2023-05-27 18:11 ` [bug#60824] [PATCH v3 1/2] gnu: perl-xml-xpath: Wrap xpath command Bruno Victal
2023-05-27 18:11 ` [bug#60824] [PATCH v3 2/2] gnu: perl-xml-xpath: Update to 1.48 Bruno Victal
2023-08-24 16:07 ` [bug#60824] [PATCH core-updates v4 0/2] Wrap and upgrade perl-xml-xpath Bruno Victal
2023-08-24 16:08   ` [bug#60824] [PATCH core-updates v4 1/2] gnu: perl-xml-xpath: Wrap xpath command Bruno Victal
2023-08-24 16:08   ` [bug#60824] [PATCH core-updates v4 2/2] gnu: perl-xml-xpath: Update to 1.48 Bruno Victal
2023-10-09 13:16   ` [bug#60824] [PATCH core-updates] Update and wrap perl-xml-xpath Maxim Cournoyer

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

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

  git send-email \
    --in-reply-to=024ddbe123ad4d22ca508e1cb998da48fb16338b.1673745598.git.mirai@makinata.eu \
    --to=mirai@makinata.eu \
    --cc=60824@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.