From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CL1+Kt1OjmEL+gAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 12:24:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SOxAJt1OjmG6VAAA1q6Kng (envelope-from ) for ; Fri, 12 Nov 2021 11:24:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C3A162EFC6 for ; Fri, 12 Nov 2021 12:24:12 +0100 (CET) Received: from localhost ([::1]:36632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlUfB-0007Gm-Ho for larch@yhetil.org; Fri, 12 Nov 2021 06:24:09 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@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?= From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636716252; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YLf+6l8hclhOUroK8fGNip1bRN+UgFR2Mc804u0oYcc=; b=CURvqNTOC4emeu4vwJ9hQ81Pn2efyxJOE0s9vUC4dfke8zL6Bir9EA1xtfwyAV1tn+FXjG Oct9Aw+f0mEYYxd9uDyMuXR+lsOUkfC+SYVN/WYuyhSeyWkD5xo95PBVEMsuX1ziPo0aLG qnAskZLA5jI39DbZm+EuyRaAIVrbDyy6xQhpftTtZmzgqGfDJ/ZA6DudhKFb65VfYOg55T 6ahn4NDU3XqvH5KZs77Hjj7zX51OFiGHwFkJGmZWQW4DRNgi4X5cSncSQuUxA2QOX0LeQi 0MULmIFM0mMq5ejR33YnmKeq/kYwll6/uaQDwWQeZrt4qYaQYoq+hV+ztVGOSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636716252; a=rsa-sha256; cv=none; b=WI2HrQ3T+XIJWbBOAtCjivKQDxmATSrPvNaFWb0bDH6L1wT9C6ZevQw76BzrlcGtvUoQLG C0T4Hdub4Y4hASK7CBcHw4Bq56bNN4C0n8YW7at2ATEeJZIXY5DASCNH10jD6npGDL+Jo8 xlZc3DTYL8xfqOu5XVciRyv361LeI4ssIbuNkXopCX2lNr2YlkEezwWRljReXi1Z0/LDj1 sDK1OuJOEUXq5f7Dn7j7qaeNPftQ3StSS0s88TzuzdxOc6TzCV4cmrMwF2iyaMVIOyQ/7M edZ1kt+7oHTEa3R4SDuhwWw+nYrt3KECsyadENW+Z/8XEiL0Z9hWuOy7H73xmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=CVEO3dfz; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=CVEO3dfz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C3A162EFC6 X-Spam-Score: -3.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: V80vHAnDuvh6 * 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))) -- 2.33.1