From 30024a1ecb2fd260155bce378f2bd9caacb46f52 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Nov 2019 22:38:45 +0200 Subject: gnu: enca: Don't use unstable tarball. * gnu/packages/textutils.scm (enca)[source]: Download using git-fetch. --- gnu/packages/textutils.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 79cf172179..1c365dc850 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015 Roel Janssen ;;; Copyright © 2016 Jelle Licht ;;; Copyright © 2016 Alex Griffin -;;; Copyright © 2016, 2018 Efraim Flashner +;;; Copyright © 2016, 2018, 2019 Efraim Flashner ;;; Copyright © 2016 ng0 ;;; Copyright © 2016 Marius Bakke ;;; Copyright © 2017 Eric Bavier @@ -117,12 +117,13 @@ handy front-end to the library.") (version "1.19") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/nijel/enca/archive/" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/nijel/enca") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "099z526i7qgij7q1w3lvhl88iv3jc3nqxca2i09h6s08ghyrmzf4")) - (file-name (string-append name "-" version ".tar.gz")))) + (base32 "19q7cwwxmmk5j9438bsqdpjvdjawsd3zmw1zyqgi7s4m0rasr3ah")))) (build-system gnu-build-system) ;; enca-1.19 tests fail with recent recode. ;(inputs `(("recode" ,recode))) -- cgit 1.4.1