2022-12-19 17:17:39 +01:00
|
|
|
;;; SPDX-License-Identifier: GPL-3.0-or-later
|
2019-06-06 10:40:33 +02:00
|
|
|
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
|
|
|
|
|
|
|
(define-module (nongnu packages compression)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (nonguix licenses))
|
|
|
|
|
|
|
|
(define-public unrar
|
|
|
|
(package
|
|
|
|
(name "unrar")
|
2024-04-27 01:27:22 +02:00
|
|
|
(version "7.0.9")
|
2019-06-06 10:40:33 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.rarlab.com/rar/unrarsrc-"
|
2020-11-19 23:28:00 +01:00
|
|
|
version ".tar.gz"))
|
2019-06-06 10:40:33 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2024-04-27 01:27:22 +02:00
|
|
|
"09l336li4q7yrpjq22q6da2vrynpqbyb4a9fdxa02k65wkwi6p2h"))))
|
2019-06-06 10:40:33 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; No tests.
|
|
|
|
#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure))))
|
|
|
|
(home-page "https://www.rarlab.com/rar_add.htm")
|
|
|
|
(synopsis "Extract files from RAR archives")
|
|
|
|
(description "The RAR decompression program. It is nonfree (as in
|
|
|
|
freedom), but open-source.")
|
|
|
|
(license (nonfree "https://www.win-rar.com/gtb_priv.html?&L=0"))))
|