aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-12-24 15:25:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-12-24 15:25:18 +0200
commit4fed08b76bb81b4c646c8f609a6014f8c47c4694 (patch)
treeafd6797afb60affb1cdcf2a8cf45cccde988dc05 /gnu
parent959a7d738cdb162acbab507189037fca560f135f (diff)
downloadguix-4fed08b76bb81b4c646c8f609a6014f8c47c4694.tar.gz
guix-4fed08b76bb81b4c646c8f609a6014f8c47c4694.zip
gnu: dunst: Don't use unstable tarball.
* gnu/packages/dunst.scm (dunst)[source]: Download using git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/dunst.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/dunst.scm b/gnu/packages/dunst.scm
index 2621fc55ab..75f2b80e5f 100644
--- a/gnu/packages/dunst.scm
+++ b/gnu/packages/dunst.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2017, 2018 Alex Kost <alezost@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,7 +20,7 @@
(define-module (gnu packages dunst)
#:use-module (guix packages)
- #:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages base)
@@ -35,14 +36,14 @@
(name "dunst")
(version "1.4.1")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/dunst-project/dunst/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dunst-project/dunst")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1zmx30qp2s9ca4q70j9ny4aq97pp442j9vfvsyihfcxgks6gwqqm"))))
+ "0xjj1f2jr1ja5grj6wrx5jjz1sx5fpqnvkw7nqi4452j3nc4p4l2"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no check target