From patchwork Fri Nov 12 11:23:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 34410 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 28ABD27BBE3; Fri, 12 Nov 2021 11:24:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A076227BBE1 for ; Fri, 12 Nov 2021 11:24:09 +0000 (GMT) Received: from localhost ([::1]:36632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlUfA-0007Gm-Qr for patchwork@mira.cbaines.net; Fri, 12 Nov 2021 06:24:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlUf4-0007GW-Ge for guix-patches@gnu.org; Fri, 12 Nov 2021 06:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlUf3-0008IT-V4 for guix-patches@gnu.org; Fri, 12 Nov 2021 06:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlUf3-0002m3-QW for guix-patches@gnu.org; Fri, 12 Nov 2021 06:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51786] [PATCH] gnu: Add ghc-hakyll. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 11:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51786 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51786@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163671623610648 (code B ref -1); Fri, 12 Nov 2021 11:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2021 11:23:56 +0000 Received: from localhost ([127.0.0.1]:43580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlUes-0002lZ-Ia for submit@debbugs.gnu.org; Fri, 12 Nov 2021 06:23:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:38254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlUen-0002lO-Nj for submit@debbugs.gnu.org; Fri, 12 Nov 2021 06:23:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlUen-0007FO-6Z for guix-patches@gnu.org; Fri, 12 Nov 2021 06:23:45 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:33050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlUek-0008GF-3I for guix-patches@gnu.org; Fri, 12 Nov 2021 06:23:44 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4HrGRt0WdLz8SMP for ; Fri, 12 Nov 2021 12:23:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1636716218; bh=dOffdeFHz0Grhi+pcdY1Zz/xrHRhCwjHYeFRP19TO9Y=; h=From:To:Cc:Subject:Date:From; b=CVEO3dfzZjHECuC0T8HNnoFO33ZoWskpB7OKxEqUUQgDWc7wRSfSGz6NqQy/rDuBM Do5QGc65I7Z/36v618BIjYf2vsndcjnyVj6sPiGO1eOvzDpkHWz+nvpSAi2ENGcy03 YQSUpf3OIbZfvDbnjuPQ5F9NWU2GXg7NoJWaiUAU= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4HrGRs73kLz8SKw; Fri, 12 Nov 2021 12:23:37 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4HrGRs5nxZz8SJh; Fri, 12 Nov 2021 12:23:37 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx1.mail.ruhr-uni-bochum.de Received: from xii-04.mg07.ruhr-uni-bochum.de (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4HrGRs3BtPzDgyx; Fri, 12 Nov 2021 12:23:37 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.ruhr-uni-bochum.de Date: Fri, 12 Nov 2021 12:23:21 +0100 Message-Id: <20211112112321.30283-1-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Received-SPF: pass client-ip=134.147.53.149; envelope-from=daniel.meissner-i4k@ruhr-uni-bochum.de; helo=out1.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-web.scm (ghc-hakyll): New variable. --- gnu/packages/haskell-web.scm | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 6a6389d5dd..5809dd53d1 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Kyle Meyer ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2021 Daniel Meißner ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,7 @@ (define-module (gnu packages haskell-web) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages linux) #:use-module (guix build-system haskell) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) @@ -2314,3 +2316,61 @@ (define-public ghc-network-run "This package provides a simple network runner library in Haskell.") (license license:bsd-3))) +(define-public ghc-hakyll + (package + (name "ghc-hakyll") + (version "4.15.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hakyll/hakyll-" + version + ".tar.gz")) + (sha256 + (base32 "18nhpnhi63xvmb14khw1ad8rwj2lxdyhpc58gnmr9vb5zz2db6bh")))) + (build-system haskell-build-system) + (inputs + `(("ghc-aeson" ,ghc-aeson) + ("ghc-blaze-html" ,ghc-blaze-html) + ("ghc-blaze-markup" ,ghc-blaze-markup) + ("ghc-data-default" ,ghc-data-default) + ("ghc-file-embed" ,ghc-file-embed) + ("ghc-hashable" ,ghc-hashable) + ("ghc-lifted-async" ,ghc-lifted-async) + ("ghc-lrucache" ,ghc-lrucache) + ("ghc-network-uri" ,ghc-network-uri) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-random" ,ghc-random) + ("ghc-regex-tdfa" ,ghc-regex-tdfa) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-scientific" ,ghc-scientific) + ("ghc-tagsoup" ,ghc-tagsoup) + ("ghc-time-locale-compat" ,ghc-time-locale-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-vector" ,ghc-vector) + ("ghc-yaml" ,ghc-yaml) + ("ghc-wai" ,ghc-wai) + ("ghc-warp" ,ghc-warp) + ("ghc-wai-app-static" ,ghc-wai-app-static) + ("ghc-http-types" ,ghc-http-types) + ("ghc-fsnotify" ,ghc-fsnotify) + ("ghc-http-conduit" ,ghc-http-conduit) + ("ghc-pandoc" ,ghc-pandoc))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-golden" ,ghc-tasty-golden) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ;; The testsuite invokes the rev utility + ("util-linux" ,util-linux))) + (arguments + `(#:cabal-revision + ("1" "1kxdvh7250nvfdz5wnchyqhghhp05i06sfnjg9ar17p0wyqzv46z"))) + (home-page "https://jaspervdj.be/hakyll/") + (synopsis "Static website compiler library") + (description "Hakyll is a static website compiler library. It provides +you with the tools to create a simple or advanced static website using a +Haskell domain-specific language (DSL) and formats such as markdown or RST.") + (license license:bsd-3)))