guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

31/41: gnu: libdbusmenu-qt: Fetch sources from git.


From: guix-commits
Subject: 31/41: gnu: libdbusmenu-qt: Fetch sources from git.
Date: Thu, 29 Nov 2018 16:44:09 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 86caf997be3643a1c6c3c8664822e22cd0b4186b
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 29 22:22:51 2018 +0100

    gnu: libdbusmenu-qt: Fetch sources from git.
    
    * gnu/packages/lxqt.scm (libdbusmenu-qt)[source]: Fetch from git.
---
 gnu/packages/lxqt.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index b78b8ac..4cb24eb 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2017 Nils Gillmann <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Meiyo Peng <address@hidden>
+;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -24,6 +25,7 @@
 
 (define-module (gnu packages lxqt)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -68,14 +70,15 @@
     (version "0.9.3+16.04.20160218-0ubuntu1")
     (source
      (origin
-       (method url-fetch)
-       ;; Download from github rather than launchpad beacuse launchpad trunk
+       (method git-fetch)
+       ;; Download from github rather than launchpad because launchpad trunk
        ;; tarball hash is not deterministic.
-       (uri (string-append "https://github.com/unity8-team/"; name
-                           "/archive/" version ".tar.gz"))
+       (uri (git-reference
+             (url "https://github.com/unity8-team/libdbusmenu-qt.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0abwyggnpg50sa9cxphscp5zdkv9nxqnlav55vj21df6q1h3jb5w"))
-       (file-name (string-append name "-" version ".tar.gz"))))
+        (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
     (build-system cmake-build-system)
     (arguments
      ;; XXX: Tests require a dbus session and some icons.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]