From 949f88b1e5c1755a71c8b05b202c836f4161d36b Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Fri, 13 Jan 2023 13:23:38 -0500 Subject: gnu: Add unrar-free. * gnu/packages/compression.scm (unrar-free): New variable. --- gnu/packages/compression.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/compression.scm') diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 223283eeb4..f44b34f430 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2021 Ahmad Jarara ;;; Copyright © 2022 Zhu Zihao +;;; Copyright © 2021 Foo Chuan Wei ;;; ;;; This file is part of GNU Guix. ;;; @@ -2833,3 +2834,33 @@ serializations such as ASN.1 and MessagePack.") (synopsis "Zip password cracker") (description "Fcrackzip is a Zip file password cracker.") (license license:gpl2+))) + +(define-public unrar-free + (package + (name "unrar-free") + (version "0.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/bgermann/unrar-free") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0l9xdygk8ki8471lmg8xkb58zq07cb9hy44pqz1hlyhgsvrb6vss")))) + (build-system gnu-build-system) + (inputs + `(("libarchive" ,libarchive))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (home-page "https://gitlab.com/bgermann/unrar-free") + (synopsis "Extract files from RAR archives") + (description + "@code{unrar-free} is a free software version of the non-free @code{unrar} +utility. This program is a simple command-line front-end to libarchive, and can +list and extract not only RAR archives but also other formats supported by +libarchive. It does not rival the non-free @code{unrar} in terms of features, +but special care has been taken to ensure it meets most user's needs.") + (license license:gpl2+))) -- cgit v1.2.3