all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#65197] add offpunk
@ 2023-08-10  8:06 ShinyZero0
  2023-08-10 10:47 ` [bug#65197] [PATCH] fix formatting issues, remove unnecessary module import ShinyZero0
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: ShinyZero0 @ 2023-08-10  8:06 UTC (permalink / raw)
  To: 65197

From 55885770d70ec38e190783c64322144d00495075 Mon Sep 17 00:00:00 2001
From: "zero@void" <shinyzero0@gmail.com>
Date: Thu, 10 Aug 2023 11:03:09 +0300
Subject: [PATCH] add offpunk

---
 gnu/packages/web-browsers.scm | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index c7143e3..e1b8fdd 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -61,6 +62,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages fltk)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages fonts)
+  #:use-module (gnu packages file)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gcc)
@@ -71,7 +73,9 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages image-viewers)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages less)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
@@ -547,6 +551,51 @@ (define-public qutebrowser
 GUI.  It is based on PyQt5 and QtWebEngine.")
     (license license:gpl3+)))
 
+(define-public offpunk
+  (package
+    (name "offpunk")
+    (version "1.10")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~lioploum/offpunk")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0r8j01s3hdn3iq4ld6pj3v0h4hpakvkc4h55jzz7jr6az4y8lcgs"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (delete 'check)
+                        (add-before 'wrap 'wrap-path
+                          (lambda* (#:key inputs outputs #:allow-other-keys)
+                            (wrap-program (string-append #$output
+                                                         "/bin/offpunk")
+                              `("PATH" ":" prefix
+                                (,(string-append #$(this-package-input "less")
+                                                 "/bin") ,(string-append #$(this-package-input
+                                                                            "file")
+                                                           "/bin")
+                                 ,(string-append #$(this-package-input
+                                                    "xdg-utils") "/bin")))))))))
+    (inputs (list python-cryptography
+                  python-requests
+                  python-feedparser
+                  python-beautifulsoup4
+                  python-readability-lxml
+                  python-flit
+                  xdg-utils
+                  file
+                  less))
+    (synopsis
+     "Command-line browser/feed reader for Gemini, Gopher, Spartan and Web")
+    (description
+     "The goal of Offpunk is to be able to synchronise your content once
+     (a day, a week, a month) and then browse/organise it while staying
+     disconnected")
+    (home-page "https://git.sr.ht/~lioploum/offpunk")
+    (license license:bsd-2)))
+
 (define-public vimb
   (package
     (name "vimb")
-- 
2.41.0





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

end of thread, other threads:[~2023-09-18 16:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10  8:06 [bug#65197] add offpunk ShinyZero0
2023-08-10 10:47 ` [bug#65197] [PATCH] fix formatting issues, remove unnecessary module import ShinyZero0
2023-08-12 22:21 ` [bug#65197] [PATCH] install manpage ShinyZero0
2023-08-15 22:44 ` [bug#65197] [PATCH] gnu: Add offpunk ShinyZero0
2023-09-06  5:00 ` [bug#65197] add offpunk Maxim Cournoyer
2023-09-18 16:18   ` ShinyZero0
2023-09-18 16:38   ` ShinyZero0

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.