From patchwork Sat Sep 14 06:15:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kyle Meyer X-Patchwork-Id: 15370 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 46E9A17383; Sat, 14 Sep 2019 07:16:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 028FA172C1 for ; Sat, 14 Sep 2019 07:16:17 +0100 (BST) Received: from localhost ([::1]:48758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i91M0-0006V2-G7 for patchwork@mira.cbaines.net; Sat, 14 Sep 2019 02:16:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50183) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i91Lo-0006TD-Aa for guix-patches@gnu.org; Sat, 14 Sep 2019 02:16:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i91Ln-0004aP-8p for guix-patches@gnu.org; Sat, 14 Sep 2019 02:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i91Ln-0004Zq-4e for guix-patches@gnu.org; Sat, 14 Sep 2019 02:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i91Lm-0005Ew-Vo for guix-patches@gnu.org; Sat, 14 Sep 2019 02:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37402] [PATCH 2/4] gnu: Add ghc-magic. Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Sep 2019 06:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37402 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37402@debbugs.gnu.org Received: via spool by 37402-submit@debbugs.gnu.org id=B37402.156844174920099 (code B ref 37402); Sat, 14 Sep 2019 06:16:02 +0000 Received: (at 37402) by debbugs.gnu.org; 14 Sep 2019 06:15:49 +0000 Received: from localhost ([127.0.0.1]:45782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i91LZ-0005E6-5S for submit@debbugs.gnu.org; Sat, 14 Sep 2019 02:15:49 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:51949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i91LX-0005Dy-Cg for 37402@debbugs.gnu.org; Sat, 14 Sep 2019 02:15:48 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 4AF3131C42; Sat, 14 Sep 2019 02:15:47 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=sasl; bh=N9BW2a4gJz3w oaAa5k76JXHacds=; b=gq/qr4RsDYRyJbi3ZPriKCjZ+wYWcYt5ALpaZDkD/HOd IR2Wy8aTyGubBHo5/1ukktGMzjnKMPxzP8gBES9G86FCLJtH6pNtZfy3Ghpr3Ne4 LJ5eV0wSm/Jg39o1wu1gEwpLpm/SYLtve4AbNVxuiHCqlSHtTFsiQMPkig+BUOY= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 43F9D31C41; Sat, 14 Sep 2019 02:15:47 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=5UN9QfzCt3YgTdeiZbaorzINibtWoGJWCVsZboaE3Iw=; b=tSNwu22lBE0yii/XzPqz2Uuevb9iD8dXoTQISzlURKyGuFiwIX51CKmrSj7+fv4LFTdlvrngK3hF2oJwd51LRWU63Sj4EZbGlAVbjM6L7l5XKw7mn1xEkDl8AVtNNS9p5SoUnjwcfn4gjRZte5skMTq8cMHbMaYslIFwfDDGGmo= Received: from hylob.local (unknown [71.233.97.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id A648E31C40; Sat, 14 Sep 2019 02:15:45 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer Date: Sat, 14 Sep 2019 02:15:32 -0400 Message-Id: <20190914061534.4963-2-kyle@kyleam.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190914060840.4617-1-kyle@kyleam.com> References: <20190914060840.4617-1-kyle@kyleam.com> MIME-Version: 1.0 X-Pobox-Relay-ID: 172AA036-D6B7-11E9-A0FD-D1361DBA3BAF-24757444!pb-smtp2.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-magic): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index ee26c1a25a..4313b6059e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2019 Robert Vollmert ;;; Copyright © 2019 Jacob MacDonald ;;; Copyright © 2019 John Soo +;;; Copyright © 2019 Kyle Meyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -5954,6 +5955,28 @@ (define-public ghc-lzma-conduit compression algorithm used in the @code{.xz} file format.") (license license:bsd-3))) +(define-public ghc-magic + (package + (name "ghc-magic") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/magic/magic-" + version ".tar.gz")) + (sha256 + (base32 + "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/magic") + (synopsis "Interface to C file/magic library") + (description + "This package provides a full-featured binding to the C libmagic library. +With it, you can determine the type of a file by examining its contents rather +than its name.") + (license license:bsd-3))) + (define-public ghc-markdown-unlit (package (name "ghc-markdown-unlit")