[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: gourmet: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
01/02: gnu: gourmet: Don't use unstable tarball. |
Date: |
Tue, 28 Jan 2020 03:21:23 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 2545ab2a0c6841c47e04d3ef874da311dc213213
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Jan 28 10:14:45 2020 +0200
gnu: gourmet: Don't use unstable tarball.
* gnu/packages/nutrition.scm (gourmet)[source]: Download using git-fetch.
---
gnu/packages/nutrition.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/nutrition.scm b/gnu/packages/nutrition.scm
index bae166d..ebab2c4 100644
--- a/gnu/packages/nutrition.scm
+++ b/gnu/packages/nutrition.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014 Eric Bavier <address@hidden>
;;; Copyright © 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2020 Efraim Flashner <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,7 +22,7 @@
(define-module (gnu packages nutrition)
#:use-module (guix packages)
#:use-module (guix licenses)
- #:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages databases)
@@ -38,13 +39,14 @@
(version "0.17.4")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/thinkle/gourmet/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/thinkle/gourmet")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1qvz175arzqm10lpfx8ffadrgirs3240zzqcp0h7sl53qfwx7v8k"))))
+ "09a2zk140l4babwdj8pwcgl9v7rvwff9cn7h3ppfhm3yvsgkrx07"))))
(build-system python-build-system)
(native-inputs
`(("distutils-extra" ,python2-distutils-extra)