Initial commit.
[software/guix-rekado.git] / non-free / custom / packages / compression.scm
1 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
2 ;;;
3 ;;; This file is not part of GNU Guix but is distributed under the same
4 ;;; license as GNU Guix.
5 ;;;
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
10 ;;;
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
15 ;;;
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19 (define-module (custom packages compression)
20 #:use-module (guix utils)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages))
26
27 (define-public unrar
28 (package
29 (name "unrar")
30 (version "5.2.7")
31 (source (origin
32 (method url-fetch)
33 (uri (string-append "http://www.rarlab.com/rar/unrarsrc-"
34 version ".tar.gz"))
35 (sha256
36 (base32
37 "1b1ggrqn020pvvh2ia98alqxpl1q3x65cb6zzqwv91rpjiz7a57g"))))
38 (build-system gnu-build-system)
39 (arguments
40 `(#:tests? #f ;no tests
41 #:make-flags
42 (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
43 #:phases
44 (modify-phases %standard-phases
45 (delete 'configure))))
46 (home-page "http://www.rarlab.com/")
47 (synopsis "Utility for RAR archives")
48 (description "This is a non-free tool to unpack RAR archives.")
49 ;; This is NOT under GPL!
50 (license license:gpl2)))