From patchwork Fri Jan 10 13:35:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pjals--- via Guix-patches via X-Patchwork-Id: 19737 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 AB4A217A7B; Fri, 10 Jan 2020 15:52:57 +0000 (GMT) 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 6CCE917A79 for ; Fri, 10 Jan 2020 15:52:57 +0000 (GMT) Received: from localhost ([::1]:48336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipwam-0000lw-Vv for patchwork@mira.cbaines.net; Fri, 10 Jan 2020 10:52:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59752) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipwIX-0000vT-26 for guix-patches@gnu.org; Fri, 10 Jan 2020 10:34:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipwIV-0003pX-Ml for guix-patches@gnu.org; Fri, 10 Jan 2020 10:34:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipwIV-0003nn-8l for guix-patches@gnu.org; Fri, 10 Jan 2020 10:34:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ipwIV-0001EF-63 for guix-patches@gnu.org; Fri, 10 Jan 2020 10:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39071] [PATCH] Add ghc-clay Resent-From: Guillaume Salvan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jan 2020 15:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39071 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39071@debbugs.gnu.org Cc: Guillaume Salvan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15786704204668 (code B ref -1); Fri, 10 Jan 2020 15:34:03 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jan 2020 15:33:40 +0000 Received: from localhost ([127.0.0.1]:54840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipwI7-0001DE-W7 for submit@debbugs.gnu.org; Fri, 10 Jan 2020 10:33:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:36281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipuRx-0006Lo-On for submit@debbugs.gnu.org; Fri, 10 Jan 2020 08:35:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56796) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipuRw-0007v2-4m for guix-patches@gnu.org; Fri, 10 Jan 2020 08:35:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipuRu-0006Eh-HW for guix-patches@gnu.org; Fri, 10 Jan 2020 08:35:39 -0500 Received: from mail-40135.protonmail.ch ([185.70.40.135]:19818) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipuRt-00063s-WA for guix-patches@gnu.org; Fri, 10 Jan 2020 08:35:38 -0500 Date: Fri, 10 Jan 2020 13:35:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.ch; s=default; t=1578663334; bh=41rYqQ9XY9LDfh2OW3fsxz5RQfEAAbFAxdTSbeji70E=; h=Date:To:From:Cc:Reply-To:Subject:Feedback-ID:From; b=QkOnyIxe/VcJx3RlHc1CYMWsEUjLusgXQnFDZVLIiyeUm30KJWYzesvZPNPmS5PJ5 EYKLHBIBSKpcepwmcwh46azu/cq76y7UUvW36rxY9hJC1CfJ2jwOsLL1hywTNyq3Fb 8djH4HsA0UEF6r4Lh0DN3/fZWvdTKMNV8nKDpc1k= Message-ID: <0Aa4s7vRDfoPVcvl3y8kcbTAk0hCT_PsUoVeTa4d1Y2sKW8kViVWdwmBR-6EY-3VtDvH5K6ry-CQh-BGWuycchPAZKTE6CEyZDyUBNZpfrE=@protonmail.ch> Feedback-ID: 4w8-GojqPMI1wwEVQucUZV-ikG3HMBi4YH5FpMXNztGluf7cAy4fH933NeVMk2O8U1EADMg88X2hkvAltA6VwQ==:Ext:ProtonMail MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Fri, 10 Jan 2020 10:33:38 -0500 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" Reply-to: Guillaume Salvan , Guillaume Salvan via Guix-patches X-Patchwork-Original-From: Guillaume Salvan via Guix-patches via From: pjals--- via Guix-patches via X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/haskell-web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5888e8542e..793068e46a 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1595,3 +1595,27 @@ cookies, serving files, and more.") (description "Haskell library which exposes zero-copy sendfile functionality in a portable way.") (license license:bsd-3))) + +(define-public ghc-clay + (package + (name "ghc-clay") + (version "0.13.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/clay/clay-" + version + ".tar.gz")) + (sha256 + (base32 + "192lsbyj6azjs2ygpx4i47fyr8zfmvwcas8mia07ndqglk2c9csx")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ;; Fix tests + (home-page "http://fvisser.nl/clay/") + (synopsis + "CSS preprocessor as embedded Haskell") + (description + "Clay is a CSS preprocessor like LESS and Sass, +but implemented as an embedded domain specific language.") + (license license:bsd-3)))