all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59558] [PATCH] gnu: Add buku-run.
@ 2022-11-25  1:44 Hilton Chain via Guix-patches via
  2022-12-08 21:39 ` bug#59558: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Hilton Chain via Guix-patches via @ 2022-11-25  1:44 UTC (permalink / raw)
  To: 59558; +Cc: Hilton Chain

* gnu/packages/web.scm (buku-run): New variable.
---
 gnu/packages/web.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d2c406915c..71241ef8d3 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7701,6 +7701,47 @@ (define-public buku
 @command{bukuserver}.")
     (license license:gpl3+)))
 
+(define-public buku-run
+  (package
+    (name "buku-run")
+    (version "0.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/carnager/buku_run")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1zyjjf3b8g3dnymcrg683rbnc6qrvx8ravfm833n7kjrqky3bczn"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:tests? #f                  ;no tests
+           #:make-flags
+           #~(list (string-append "DESTDIR=" #$output)
+                   "PREFIX=")
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)
+               (add-after 'unpack 'fixpath
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "buku_run"
+                     ((" \\<(rofi)\\>" all cmd)
+                      (string-append " " (search-input-file inputs "/bin/rofi")))
+                     (("\\<(buku)\\> " all cmd)
+                      (string-append (search-input-file inputs "/bin/buku") " "))
+                     (("\\<(awk|gawk)\\>" cmd)
+                      (search-input-file inputs "/bin/awk"))
+                     (("/etc/buku_run.config" path)
+                      (string-append #$output path))))))))
+    (inputs (list buku rofi))
+    (home-page "https://github.com/carnager/buku_run")
+    (synopsis "rofi frontend for buku bookmarks manager")
+    (description
+     "This package provides a @code{rofi} frontend for @code{buku} bookmark
+manager.")
+    (license license:gpl3)))
+
 (define-public anonip
   (package
     (name "anonip")

base-commit: 5eb2995c006283fc0b649f10a6d002580ccac8d6
-- 
2.38.1





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

* bug#59558: [PATCH] gnu: Add buku-run.
  2022-11-25  1:44 [bug#59558] [PATCH] gnu: Add buku-run Hilton Chain via Guix-patches via
@ 2022-12-08 21:39 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-12-08 21:39 UTC (permalink / raw)
  To: Hilton Chain; +Cc: 59558-done

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

Hi,

Hilton Chain <hako@ultrarare.space> skribis:

> * gnu/packages/web.scm (buku-run): New variable.

Applied with the changes below, thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 891 bytes --]

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e53e123e19..99b8a3698c 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -189,6 +189,7 @@ (define-module (gnu packages web)
   #:use-module (gnu packages video)
   #:use-module (gnu packages vim)
   #:use-module (gnu packages wget)
+  #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
   #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
 
@@ -7801,9 +7802,8 @@ (define-public buku-run
     (home-page "https://github.com/carnager/buku_run")
     (synopsis "rofi frontend for buku bookmarks manager")
     (description
-     "This package provides a @code{rofi} frontend for @code{buku} bookmark
-manager.")
-    (license license:gpl3)))
+     "This package provides a rofi frontend for the buku bookmark manager.")
+    (license license:gpl3+)))
 
 (define-public anonip
   (package

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

end of thread, other threads:[~2022-12-08 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25  1:44 [bug#59558] [PATCH] gnu: Add buku-run Hilton Chain via Guix-patches via
2022-12-08 21:39 ` bug#59558: " Ludovic Courtès

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.