* [bug#33518] [PATCH] gnu: Add vimb.
@ 2018-11-26 21:29 Timo Eisenmann
2018-11-27 11:11 ` bug#33518: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Timo Eisenmann @ 2018-11-26 21:29 UTC (permalink / raw)
To: 33518; +Cc: Timo Eisenmann
* gnu/packages/web-browsers.scm (vimb): New variable.
---
gnu/packages/web-browsers.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 2c2767dbb..052d29dd2 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -320,3 +320,38 @@ access.")
(description "qutebrowser is a keyboard-focused browser with a minimal
GUI. It is based on PyQt5 and QtWebKit.")
(license license:gpl3+)))
+
+(define-public vimb
+ (package
+ (name "vimb")
+ (version "3.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/fanglingsu/vimb/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0v3daxs10nndxvcpvx8377aylfdismzkys5n5cs8m89c3fdy6vsw"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:make-flags (list "CC=gcc"
+ "DESTDIR="
+ (string-append "PREFIX=" %output))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (inputs
+ `(("glib-networking" ,glib-networking)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("webkitgtk" ,webkitgtk)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "https://fanglingsu.github.io/vimb/")
+ (synopsis "Fast and lightweight vim like web browser")
+ (description "Vimb is a fast and lightweight vim like web browser based on
+the webkit web browser engine and the GTK toolkit. Vimb is modal like the great
+vim editor and also easily configurable during runtime. Vimb is mostly keyboard
+driven and does not detract you from your daily work.")
+ (license license:gpl3+)))
--
2.19.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#33518: [PATCH] gnu: Add vimb.
2018-11-26 21:29 [bug#33518] [PATCH] gnu: Add vimb Timo Eisenmann
@ 2018-11-27 11:11 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-11-27 11:11 UTC (permalink / raw)
To: Timo Eisenmann; +Cc: 33518-done
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
Hi,
Timo Eisenmann <eisenmann@fn.de> skribis:
> * gnu/packages/web-browsers.scm (vimb): New variable.
Applied with the following changes to placate ‘guix lint’ and to avoid
GitHub auto-generated tarballs (their contents may vary over time.)
Let me know if anything is amiss.
Thanks!
Ludo’.
[-- Attachment #2: Type: text/x-patch, Size: 2335 bytes --]
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 052d29dd25..f63f269ae0 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
+;;; Copyright © 2018 Timo Eisenmann <eisenmann@fn.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -48,6 +49,7 @@
#:use-module (gnu packages webkit)
#:use-module (gnu packages xorg)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system python))
@@ -327,12 +329,14 @@ GUI. It is based on PyQt5 and QtWebKit.")
(version "3.3.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/fanglingsu/vimb/archive/"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fanglingsu/vimb/")
+ (commit version)))
(sha256
(base32
- "0v3daxs10nndxvcpvx8377aylfdismzkys5n5cs8m89c3fdy6vsw"))))
+ "1qg18z2gnsli9qgrqfhqfrsi6g9mcgr90w8yab28nxrq4aha6brf"))
+ (file-name (git-file-name name version))))
(build-system glib-or-gtk-build-system)
(arguments
'(#:tests? #f ; no tests
@@ -349,9 +353,9 @@ GUI. It is based on PyQt5 and QtWebKit.")
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "https://fanglingsu.github.io/vimb/")
- (synopsis "Fast and lightweight vim like web browser")
+ (synopsis "Fast and lightweight Vim-like web browser")
(description "Vimb is a fast and lightweight vim like web browser based on
-the webkit web browser engine and the GTK toolkit. Vimb is modal like the great
-vim editor and also easily configurable during runtime. Vimb is mostly keyboard
+the webkit web browser engine and the GTK toolkit. Vimb is modal like the great
+vim editor and also easily configurable during runtime. Vimb is mostly keyboard
driven and does not detract you from your daily work.")
(license license:gpl3+)))
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-27 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-26 21:29 [bug#33518] [PATCH] gnu: Add vimb Timo Eisenmann
2018-11-27 11:11 ` bug#33518: " Ludovic Courtès
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).