From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCHv2] Add cabextract. Date: Sun, 17 Apr 2016 14:31:25 +0200 Message-ID: <20160417143125.7f36cf35@scratchpost.org> References: <20160416200555.40122bfd@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arlrT-0004j8-Ik for guix-devel@gnu.org; Sun, 17 Apr 2016 08:31:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arlrQ-0001WE-E0 for guix-devel@gnu.org; Sun, 17 Apr 2016 08:31:35 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:43609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arlrQ-0001W9-8n for guix-devel@gnu.org; Sun, 17 Apr 2016 08:31:32 -0400 Received: from localhost (91.141.0.91.wireless.dyn.drei.com [91.141.0.91]) by dd1012.kasserver.com (Postfix) with ESMTPSA id AA69F1CA04DB for ; Sun, 17 Apr 2016 14:31:29 +0200 (CEST) In-Reply-To: <20160416200555.40122bfd@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/compression.scm (cabextract): New variable. --- b/gnu/packages/compression.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index de5d03a..cd89dfe 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -731,3 +731,26 @@ similar in speed to deflate but offers denser compression. This package provides encoder and a decoder libraries: libbrotlienc and libbrotlidec, respectively, based on the reference implementation from Google.") (license license:expat)))) + +(define-public cabextract + (package + (name "cabextract") + (version "1.6") + (source (origin + (method url-fetch) + (uri (string-append + "http://cabextract.org.uk/cabextract-" version ".tar.gz")) + (sha256 + (base32 + "1ysmmz25fjghq7mxb2anyyvr1ljxqxzi4piwjhk0sdamcnsn3rnf")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags '("--with-external-libmspack"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libmspack" ,libmspack))) + (home-page "http://www.cabextract.org.uk/") + (synopsis "Tool to unpack Cabinet archives") + (description "Extracts files out of Microsoft Cabinet (.cab) archives") + ;; Some source files specify gpl2, however COPYING is gpl3. + (license (list license:gpl2 license:gpl3))))