gnu: zfs-auto-snapshot: Use git-fetch.

Do not use an autogenerated tarball. This is notified by "guix lint".

* gnu/packages/file-systems.scm (zfs-auto-snapshot)[source]: Use git-fetch
method.
This commit is contained in:
Mathieu Othacehe 2021-05-13 16:04:17 +02:00
parent da01347bf1
commit 95bc788002
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1147,13 +1147,16 @@ (define-public zfs-auto-snapshot
(name "zfs-auto-snapshot")
(version "1.2.4")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/zfsonlinux/zfs-auto-snapshot/archive/upstream/"
version ".tar.gz"))
(sha256
(base32 "16ry1w43i44xc67gr73x6fa48ninfhqxr498ad4m3kya93vp2zrh"))))
(origin
(method git-fetch)
(uri (git-reference
(url
(string-append "https://github.com/zfsonlinux/" name))
(commit
(string-append "upstream/" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0m4xw7h5qlbn5zdf9wb137pcr5l7hyrr7w2dgr16dfm5ay64vvfq"))))
(build-system gnu-build-system)
(inputs
;; Note: if you are inheriting from the above zfs package in order