all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Timo Eisenmann <eisenmann@fn.de>
Cc: 33518-done@debbugs.gnu.org
Subject: bug#33518: [PATCH] gnu: Add vimb.
Date: Tue, 27 Nov 2018 12:11:55 +0100	[thread overview]
Message-ID: <87sgzmai6c.fsf@gnu.org> (raw)
In-Reply-To: <20181126212914.394-1-eisenmann@fn.de> (Timo Eisenmann's message of "Mon, 26 Nov 2018 22:29:14 +0100")

[-- 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+)))

      reply	other threads:[~2018-11-27 11:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26 21:29 [bug#33518] [PATCH] gnu: Add vimb Timo Eisenmann
2018-11-27 11:11 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgzmai6c.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=33518-done@debbugs.gnu.org \
    --cc=eisenmann@fn.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.