2019-06-06 10:40:33 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
|
|
|
;;;
|
|
|
|
;;; This file is not part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(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")
|
2022-12-04 10:56:10 +01:00
|
|
|
(version "6.2.2")
|
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
|
2022-12-04 10:56:10 +01:00
|
|
|
"1mbw20lh300r541dz4m84rvq7b542mnb70yc29afrjj6waknqza7"))))
|
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"))))
|