gnu: multipath-tools: Fetch with git.

* gnu/packages/linux.scm (multipath-tools)[source]: Change to GIT-FETCH.
This commit is contained in:
Marius Bakke 2020-05-16 18:08:27 +02:00
parent 1f595f3cf4
commit d1ed1d7560
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4184,13 +4184,14 @@ (define-public multipath-tools
(name "multipath-tools")
(version "0.8.3")
(source (origin
(method url-fetch)
(uri (string-append "https://git.opensvc.com/?p=multipath-tools/"
".git;a=snapshot;h=" version ";sf=tgz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://git.opensvc.com/multipath-tools/.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1c6ay97wlfv1fl0y8hcfpxhkps14hlnw9gzmj7884micsp7pa9yv"))
"02kdbk3gv3fx5dg445scz3l4lg0sznlv037qkjgpw9xkw4l50cfd"))
(modules '((guix build utils)))
(snippet
'(begin