all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#60824] [PATCH 1/2] gnu: perl-xml-xpath: Wrap xpath command.
@ 2023-01-15  1:20 Bruno Victal
  2023-01-15  1:22 ` [bug#60824] [PATCH 2/2] gnu: perl-xml-xpath: Update to 1.48 Bruno Victal
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Bruno Victal @ 2023-01-15  1:20 UTC (permalink / raw)
  To: 60824; +Cc: Bruno Victal

* 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





^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-09 13:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [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

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.