From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 14/43] gnu: Add ghc-tar. Date: Sun, 4 Sep 2016 16:17:13 +0000 Message-ID: <20160904161742.27197-14-ng0@we.make.ritual.n0.is> References: <20160904161742.27197-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7M-0005Gp-7Y for guix-devel@gnu.org; Sun, 04 Sep 2016 12:18:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bga7J-0005uA-Fa for guix-devel@gnu.org; Sun, 04 Sep 2016 12:17:58 -0400 Received: from mithlond.libertad.in-berlin.de ([217.197.83.212]:46185 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7J-0005qa-6R for guix-devel@gnu.org; Sun, 04 Sep 2016 12:17:57 -0400 In-Reply-To: <20160904161742.27197-1-ng0@we.make.ritual.n0.is> 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/haskell.scm (ghc-tar): New variable. --- gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 0940dd5..8236ddb 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6734,4 +6734,36 @@ to solve this problem.") (description "ByteString-backed Handles") ; There is no description (license license:bsd-3))) +(define-public ghc-tar + (package + (name "ghc-tar") + (version "0.5.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/tar/tar-" + version ".tar.gz")) + (sha256 + (base32 + "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq")))) + (build-system haskell-build-system) + (inputs + `(("ghc-bytestring-handle" ,ghc-bytestring-handle) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-array" ,ghc-array))) + (home-page "http://hackage.haskell.org/package/tar") + (synopsis "Reading, writing and manipulating \".tar\" archive files.") + (description + "This library is for working with \\\"@.tar@\\\" archive files. +It can read and write a range of common variations of archive format +including V7, POSIX USTAR and GNU formats. It provides support for +packing and unpacking portable archives. This makes it suitable for +distribution but not backup because details like file ownership and exact +permissions are not preserved. It also provides features for random access +to archive content using an index.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.9.3