unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51910] [PATCH] gnu: Add cl-trivial-open-browser.
@ 2021-11-17  5:43 Foo Chuan Wei
  2021-11-19 10:01 ` bug#51910: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Foo Chuan Wei @ 2021-11-17  5:43 UTC (permalink / raw)
  To: 51910

* gnu/packages/lisp-xyz.scm (cl-trivial-open-browser,
  ecl-trivial-open-browser, sbcl-trivial-open-browser):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4b17c173c9..5608222e96 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18686,6 +18686,38 @@ higher-level lispier interface.")
 (define-public ecl-cl-charms
   (sbcl-package->ecl-package sbcl-cl-charms))
 
+(define-public sbcl-trivial-open-browser
+  (let ((commit "7ab4743dea9d592639f15c565bfa0756e828c427")
+        (revision "1"))
+    (package
+      (name "sbcl-trivial-open-browser")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/eudoxia0/trivial-open-browser")
+               (commit commit)))
+         (file-name (git-file-name "trivial-open-browser" version))
+         (sha256
+          (base32 "0ixay1piq420i6adx642qhw45l6ik7rvgk52lyz27dvx5f8yqsdb"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/eudoxia0/trivial-open-browser")
+      (synopsis "Open a browser window from Common Lisp")
+      (description
+       "Open the browser to a URL, on any system.  By default, the library
+runs a shell command to open the browser on Windows, Linux and OS X.  You can
+customize this by setting the value of @code{*browser-function*} to a custom
+function that takes a URL as its argument and somehow opens the browser to
+that URL.")
+      (license license:expat))))
+
+(define-public cl-trivial-open-browser
+  (sbcl-package->cl-source-package sbcl-trivial-open-browser))
+
+(define-public ecl-trivial-open-browser
+  (sbcl-package->ecl-package sbcl-trivial-open-browser))
+
 (define-public sbcl-clinenoise
   (let ((commit "46e21f99d06a55d93eaa382cf652d55d457032ef")
         (revision "1"))

base-commit: 02a67810e566e8402e0b927c81ae39391762767d
-- 
2.25.1





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

* bug#51910: [PATCH] gnu: Add cl-trivial-open-browser.
  2021-11-17  5:43 [bug#51910] [PATCH] gnu: Add cl-trivial-open-browser Foo Chuan Wei
@ 2021-11-19 10:01 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2021-11-19 10:01 UTC (permalink / raw)
  To: Foo Chuan Wei; +Cc: 51910-done

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

Patch pushed as 03b146c45c5fe673eca6e423a860a0d4470d2109 with a modified
description.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

end of thread, other threads:[~2021-11-19 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17  5:43 [bug#51910] [PATCH] gnu: Add cl-trivial-open-browser Foo Chuan Wei
2021-11-19 10:01 ` bug#51910: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).