From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v3] Add cabextract. Date: Sun, 17 Apr 2016 19:30:37 +0200 Message-ID: <20160417193037.1a623674@scratchpost.org> References: <20160416200555.40122bfd@scratchpost.org> <20160417143125.7f36cf35@scratchpost.org> <20160417132802.GA12965@jocasta.intra> <20160417154543.48da1ad3@scratchpost.org> <20160417144418.GA13488@jocasta.intra> 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]:46285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arqX2-0003ni-I9 for guix-devel@gnu.org; Sun, 17 Apr 2016 13:30:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arqWy-0003tp-HE for guix-devel@gnu.org; Sun, 17 Apr 2016 13:30:48 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:57868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arqWy-0003tj-Ag for guix-devel@gnu.org; Sun, 17 Apr 2016 13:30:44 -0400 In-Reply-To: <20160417144418.GA13488@jocasta.intra> 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: John Darrington Cc: guix-devel@gnu.org v3: License field fixed up to be gpl3+. * 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..ea1e905 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+, lgpl2+, however COPYING is gpl3. + (license license:gpl3+)))