gnu: disarchive: Update to 0.6.0.
* gnu/packages/backup.scm (disarchive): Update to 0.6.0; add 'guile-bzip2' as an input. * gnu/packages/package-management.scm (guix): Add 'guile-bzip2' as an input to enable bzip2 support when using Disarchive. * guix/self.scm (%packages): Add 'guile-bzip2'. (compiled-guix): Include 'guile-bzip2' as a dependency when building the 'guix' command. * etc/disarchive-manifest.scm (tarball-origin?): Include bzip2 tarballs. Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr> Change-Id: I4da479054f6bef225f5ea979c091152f8a9e51d5master
parent
94c0eeea49
commit
5f86eebd24
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2021-2023 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2021-2024 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -35,6 +35,8 @@
|
||||||
(and (origin-hash origin)
|
(and (origin-hash origin)
|
||||||
(or (string-suffix? ".tar.gz" file)
|
(or (string-suffix? ".tar.gz" file)
|
||||||
(string-suffix? ".tgz" file)
|
(string-suffix? ".tgz" file)
|
||||||
|
(string-suffix? ".tar.bz2" file)
|
||||||
|
(string-suffix? ".tbz2" file)
|
||||||
(string-suffix? ".tar.xz" file)
|
(string-suffix? ".tar.xz" file)
|
||||||
(string-suffix? ".tar" file))))))
|
(string-suffix? ".tar" file))))))
|
||||||
|
|
||||||
|
|
|
@ -1271,27 +1271,28 @@ backup.")
|
||||||
(define-public disarchive
|
(define-public disarchive
|
||||||
(package
|
(package
|
||||||
(name "disarchive")
|
(name "disarchive")
|
||||||
(version "0.5.0")
|
(version "0.6.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://files.ngyro.com/disarchive/"
|
(uri (string-append "https://files.ngyro.com/disarchive/"
|
||||||
"disarchive-" version ".tar.gz"))
|
"disarchive-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"16sjplkn9nr7zhfrqll7l1m2b2j4hg8k29p6bqjap9fkj6zpn2q2"))))
|
"1s4lyhhh1zsaxgn11hy2b1kdvnvpipii68wba0hwr471rd43m08k"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf
|
(list autoconf
|
||||||
automake
|
automake
|
||||||
pkg-config
|
pkg-config
|
||||||
guile-3.0 ;for cross-compilation
|
guile-3.0 ;for cross-compilation
|
||||||
|
guile-bzip2
|
||||||
guile-gcrypt
|
guile-gcrypt
|
||||||
guile-lzma
|
guile-lzma
|
||||||
guile-quickcheck))
|
guile-quickcheck))
|
||||||
(inputs
|
(inputs
|
||||||
(list guile-3.0 zlib))
|
(list guile-3.0 zlib))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list guile-gcrypt guile-lzma))
|
(list guile-bzip2 guile-gcrypt guile-lzma))
|
||||||
(home-page "https://ngyro.com/software/disarchive.html")
|
(home-page "https://ngyro.com/software/disarchive.html")
|
||||||
(synopsis "Software archive disassembler")
|
(synopsis "Software archive disassembler")
|
||||||
(description "Disarchive can disassemble software archives into data
|
(description "Disarchive can disassemble software archives into data
|
||||||
|
|
|
@ -411,11 +411,12 @@ $(prefix)/etc/openrc\n")))
|
||||||
(ssh (assoc-ref inputs "guile-ssh"))
|
(ssh (assoc-ref inputs "guile-ssh"))
|
||||||
(gnutls (assoc-ref inputs "guile-gnutls"))
|
(gnutls (assoc-ref inputs "guile-gnutls"))
|
||||||
(disarchive (assoc-ref inputs "disarchive"))
|
(disarchive (assoc-ref inputs "disarchive"))
|
||||||
|
(bzip2 (assoc-ref inputs "guile-bzip2"))
|
||||||
(lzma (assoc-ref inputs "guile-lzma"))
|
(lzma (assoc-ref inputs "guile-lzma"))
|
||||||
(locales (assoc-ref inputs "glibc-utf8-locales"))
|
(locales (assoc-ref inputs "glibc-utf8-locales"))
|
||||||
(deps (list gcrypt json sqlite gnutls git
|
(deps (list gcrypt json sqlite gnutls git
|
||||||
bs ssh zlib lzlib zstd guile-lib
|
bs ssh zlib lzlib zstd guile-lib
|
||||||
disarchive lzma))
|
disarchive bzip2 lzma))
|
||||||
(deps* (if avahi (cons avahi deps) deps))
|
(deps* (if avahi (cons avahi deps) deps))
|
||||||
(effective
|
(effective
|
||||||
(read-line
|
(read-line
|
||||||
|
@ -520,6 +521,7 @@ $(prefix)/etc/openrc\n")))
|
||||||
("bootstrap/xz" ,(bootstrap-executable "xz" (%current-system)))
|
("bootstrap/xz" ,(bootstrap-executable "xz" (%current-system)))
|
||||||
|
|
||||||
("disarchive" ,disarchive) ;for 'guix perform-download'
|
("disarchive" ,disarchive) ;for 'guix perform-download'
|
||||||
|
("guile-bzip2" ,guile-bzip2) ;for Disarchive
|
||||||
("guile-lzma" ,guile-lzma) ;for Disarchive
|
("guile-lzma" ,guile-lzma) ;for Disarchive
|
||||||
|
|
||||||
("git-minimal" ,git-minimal) ;for 'guix perform-download'
|
("git-minimal" ,git-minimal) ;for 'guix perform-download'
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
("guile-gnutls" . ,(ref 'tls 'guile-gnutls))
|
("guile-gnutls" . ,(ref 'tls 'guile-gnutls))
|
||||||
("guix-daemon" . ,(ref 'package-management 'guix-daemon))
|
("guix-daemon" . ,(ref 'package-management 'guix-daemon))
|
||||||
("disarchive" . ,(ref 'backup 'disarchive))
|
("disarchive" . ,(ref 'backup 'disarchive))
|
||||||
|
("guile-bzip2" . ,(ref 'guile 'guile-bzip2))
|
||||||
("guile-lzma" . ,(ref 'guile 'guile-lzma))
|
("guile-lzma" . ,(ref 'guile 'guile-lzma))
|
||||||
("gzip" . ,(ref 'compression 'gzip))
|
("gzip" . ,(ref 'compression 'gzip))
|
||||||
("bzip2" . ,(ref 'compression 'bzip2))
|
("bzip2" . ,(ref 'compression 'bzip2))
|
||||||
|
@ -827,6 +828,9 @@ itself."
|
||||||
(define disarchive
|
(define disarchive
|
||||||
(specification->package "disarchive"))
|
(specification->package "disarchive"))
|
||||||
|
|
||||||
|
(define guile-bzip2
|
||||||
|
(specification->package "guile-bzip2"))
|
||||||
|
|
||||||
(define guile-lzma
|
(define guile-lzma
|
||||||
(specification->package "guile-lzma"))
|
(specification->package "guile-lzma"))
|
||||||
|
|
||||||
|
@ -1058,6 +1062,7 @@ itself."
|
||||||
#:source source
|
#:source source
|
||||||
#:dependencies
|
#:dependencies
|
||||||
(cons* disarchive
|
(cons* disarchive
|
||||||
|
guile-bzip2
|
||||||
guile-lzma
|
guile-lzma
|
||||||
dependencies)
|
dependencies)
|
||||||
#:guile guile-for-build
|
#:guile guile-for-build
|
||||||
|
|
Reference in New Issue