From 86caf997be3643a1c6c3c8664822e22cd0b4186b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 29 Nov 2018 22:22:51 +0100 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index b78b8ac99f..4cb24ebf64 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Meiyo Peng +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; 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. -- cgit v1.2.3