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 v2 1/2] gnu: perl-xml-xpath: Wrap xpath command.
Date: Thu, 18 May 2023 18:33:03 +0100	[thread overview]
Message-ID: <1b22f02d1d3237a361262b9fcc8ecbf43e935c20.1684431164.git.mirai@makinata.eu> (raw)
In-Reply-To: <024ddbe123ad4d22ca508e1cb998da48fb16338b.1673745598.git.mirai@makinata.eu>

* 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 2bc4f66c01..3c94937f49 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.
 ;;;
@@ -1044,6 +1045,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
@@ -1053,7 +1064,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: 5b700945fb0b33eec410de8979cae2fbf0d4f118
-- 
2.39.2





  parent reply	other threads:[~2023-05-18 17:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15  1:20 [bug#60824] [PATCH 1/2] gnu: perl-xml-xpath: Wrap xpath command Bruno Victal
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 ` Bruno Victal [this message]
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=1b22f02d1d3237a361262b9fcc8ecbf43e935c20.1684431164.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.