;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is not part of GNU Guix but is distributed under the same ;;; license as 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 . (define-module (custom packages compression) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) #:use-module (gnu packages)) (define-public unrar (package (name "unrar") (version "5.2.7") (source (origin (method url-fetch) (uri (string-append "http://www.rarlab.com/rar/unrarsrc-" version ".tar.gz")) (sha256 (base32 "1b1ggrqn020pvvh2ia98alqxpl1q3x65cb6zzqwv91rpjiz7a57g")))) (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 "http://www.rarlab.com/") (synopsis "Utility for RAR archives") (description "This is a non-free tool to unpack RAR archives.") ;; This is NOT under GPL! (license license:gpl2)))