gnu: squashfs-tools: Build from upstream git.

* gnu/packages/compression.scm (squashfs-tools)[source]: Use GIT-FETCH
and GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2021-06-11 00:11:12 +02:00
parent 1f34f8db12
commit d037bf0294
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -856,14 +856,15 @@ (define-public squashfs-tools
(package
(name "squashfs-tools")
(version "4.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/squashfs/squashfs/"
"squashfs" version "/"
"squashfs" version ".tar.gz"))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/plougher/squashfs-tools")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0zmhvczscqz0mzh4b9m8m42asq14db0a6lc8clp5ljq5ybrv70d9"))
(base32 "0697fv8n6739mcyn57jclzwwbbqwpvjdfkv1qh9s56lvyqnplwaw"))
(modules '((guix build utils)))
(snippet
'(begin