From ba185e2a63d7f4f48238953bf062d4f84514bc5d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 29 Nov 2018 22:40:38 +0100 Subject: gnu: zimg: Fetch sources from git. * gnu/packages/image.scm (zimg)[source]: Fetch from git. --- gnu/packages/image.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index e7a7121f15..c5347d6082 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1144,13 +1144,14 @@ ISO/IEC 15444-1).") (version "2.5") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/sekrit-twc/zimg/archive/" - "release-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/sekrit-twc/zimg.git") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0kbq2dy659645fmgxpzg38b6y6x82kwkydhc380kdkaikv2brcjh")))) + "05krggiifbl6hyg2j3z8qz2k7si84g1qg9snhsnf1ml7mrhqhhlr")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) -- cgit v1.2.3