unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCHv2] Add cabextract.
Date: Sun, 17 Apr 2016 14:31:25 +0200	[thread overview]
Message-ID: <20160417143125.7f36cf35@scratchpost.org> (raw)
In-Reply-To: <20160416200555.40122bfd@scratchpost.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))))

  parent reply	other threads:[~2016-04-17 12:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-16 18:05 [PATCH] Add cabextract Danny Milosavljevic
2016-04-17  9:32 ` Ricardo Wurmus
2016-04-17 10:06   ` Leo Famulari
2016-04-17 12:31 ` Danny Milosavljevic [this message]
2016-04-17 13:28   ` [PATCHv2] " John Darrington
2016-04-17 13:45     ` Danny Milosavljevic
2016-04-17 14:44       ` John Darrington
2016-04-17 17:30         ` [PATCH v3] " Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160417143125.7f36cf35@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).