From d177ac2df66031cf8150ed82136628350cebf5c7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Nov 2019 21:46:30 +0200 Subject: gnu: iniparser: Don't use unstable tarball. * gnu/packages/samba.scm (iniparser)[source]: Download using git-fetch. --- gnu/packages/samba.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 7b6a0dfef5..a60b735414 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2015, 2017 Ludovic Courtès ;;; Copyright © 2015 Mark H Weaver -;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2016, 2017, 2019 Efraim Flashner ;;; Copyright © 2016 Adonay "adfeno" Felipe Nogueira ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2017, 2018 Marius Bakke @@ -27,6 +27,7 @@ (define-module (gnu packages samba) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix licenses) #:use-module (guix utils) @@ -99,13 +100,14 @@ the Linux kernel CIFS client.") (name "iniparser") (version "4.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ndevilla/iniparser/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ndevilla/iniparser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1bpk8dj9d5cl64lg6jsk0qlzrpg848nymwxc3fx707fk1n0al3cn")))) + "0dhab6pad6wh816lr7r3jb6z273njlgw2vpw8kcfnmi7ijaqhnr5")))) (build-system gnu-build-system) (arguments `(#:make-flags -- cgit 1.4.1