From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7Ncc-0005qW-Jf for guix-patches@gnu.org; Tue, 02 Oct 2018 12:34:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7NcZ-0003iP-NB for guix-patches@gnu.org; Tue, 02 Oct 2018 12:34:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7NcZ-0003iL-Gg for guix-patches@gnu.org; Tue, 02 Oct 2018 12:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7NcZ-0004NO-Ce for guix-patches@gnu.org; Tue, 02 Oct 2018 12:34:03 -0400 Subject: [bug#32908] [PATCH 07/24] gnu: Add ghc-lzma. Resent-Message-ID: From: Ricardo Wurmus Date: Tue, 2 Oct 2018 18:32:40 +0200 Message-ID: <20181002163255.5304-2-ricardo.wurmus@mdc-berlin.de> In-Reply-To: <20181002162912.5037-5-ricardo.wurmus@mdc-berlin.de> References: <20181002162912.5037-5-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32908@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/haskell.scm (ghc-lzma): New variable. --- gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index a8d22a682..3e1039896 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -10753,6 +10753,37 @@ permissions while atomically writing to a file.") @code{Sources}, @code{Sinks}, and @code{Conduits}.") (license license:bsd-3))) +(define-public ghc-lzma + (package + (name "ghc-lzma") + (version "0.0.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/lzma/" + "lzma-" version ".tar.gz")) + (sha256 + (base32 + "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg")))) + (build-system haskell-build-system) + (arguments + '(#:tests? #f ; requires older versions of QuickCheck and tasty. + #:cabal-revision + ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m"))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "https://github.com/hvr/lzma") + (synopsis "LZMA/XZ compression and decompression") + (description + "This package provides a pure interface for compressing and +decompressing LZMA streams of data represented as lazy @code{ByteString}s. A +monadic incremental interface is provided as well.") + (license license:bsd-3))) + (define-public ghc-weigh (package (name "ghc-weigh") -- 2.19.0