From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aO6nEDfsEWXKXAEAauVa8A:P1 (envelope-from ) for ; Mon, 25 Sep 2023 22:23:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aO6nEDfsEWXKXAEAauVa8A (envelope-from ) for ; Mon, 25 Sep 2023 22:23:19 +0200 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 0580357458 for ; Mon, 25 Sep 2023 22:23:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cRge9oJj; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695673399; h=from:from:sender:sender: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AZUHYRlun17URGHrJxQIB3NuvDKjQ/QHvhbGl/DivbM=; b=MeJQR6HbpdL+T9rVnN0KWK1yFM/rMq/KOhAnvyr+nf2kb9q48l67gSJd78jiSV/5OnhNcH cub4vQ+eNf3vN4DwCZ4FuJ46gHe4FuPt9fCmF0NcC3lT3e4gkYS1EvW0FwDkDSdc6wk8BC HNY01n6xrz+3VUrTsZ9foCfbLqi6/DiD1reAjJiWwLZOSAOfuvN60o9NmnYsTYs5fVMPoU TXvFAECwl0iAUJ0uTWYEl/TmRZQV0Pl2LazQ50oEs1hQsXCsGsUNn2tsPugxSrOjNu/jWv f9Ddeabn+FE80srjlAkonIJuXEplWqPzlQt8JCepk8F9wFn114yo0AvvXlXSNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cRge9oJj; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695673399; a=rsa-sha256; cv=none; b=M0gEANjx+vteWM8I4e7VShStmGu/q2zqe3pKnp9Jn2dYdYIZHGhzx9Ne9oSg5+GPFa8526 KYFvzH15PqWuXvAgEZdK5OX58+0713uaUO2JB37wynn3lodd0inFNKyGLYRzv/al4MZ82+ Nnv5W3OjIAb8B8NQAf3XH7Kke6476QlDjAm1XAO4xdUYLO8N25SrXvRZqlGw084hdx1SyM 18hefVkVMZgQOtxHAIFsO140ectH7l+Oy+SxhZGx2tymRvM0r//u+uzc2f1h1BJxqvpUfY hn5SK8qJdIOYeWzUCdJeMu6OTtR6OLcOvOmqZKd8HtP0RdBd0tAcS28s+QvZmw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qks6U-0000SV-Qf; Mon, 25 Sep 2023 16:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qks6T-0000S2-Lu for guix-patches@gnu.org; Mon, 25 Sep 2023 16:22:49 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qks6T-0003tN-DZ for guix-patches@gnu.org; Mon, 25 Sep 2023 16:22:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qks6f-0004WN-Oq; Mon, 25 Sep 2023 16:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65976] [PATCH v3 2/4] gnu: Add ghc-twain. Resent-From: pinoaffe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Mon, 25 Sep 2023 20:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65976 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65976@debbugs.gnu.org Cc: pinoaffe , Lars-Dominik Braun X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by 65976-submit@debbugs.gnu.org id=B65976.169567332917285 (code B ref 65976); Mon, 25 Sep 2023 20:23:01 +0000 Received: (at 65976) by debbugs.gnu.org; 25 Sep 2023 20:22:09 +0000 Received: from localhost ([127.0.0.1]:46731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qks5o-0004Uh-Qm for submit@debbugs.gnu.org; Mon, 25 Sep 2023 16:22:09 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:61947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qks5m-0004U0-1P for 65976@debbugs.gnu.org; Mon, 25 Sep 2023 16:22:07 -0400 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9ae75ece209so710174966b.3 for <65976@debbugs.gnu.org>; Mon, 25 Sep 2023 13:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695673308; x=1696278108; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AZUHYRlun17URGHrJxQIB3NuvDKjQ/QHvhbGl/DivbM=; b=cRge9oJjY7OfPbeonyt1kYN16cM4kRfSFP7ijKz1A8C9Xq34z4bikdamWNuFXQvx05 Hk5QeO1uDYkwDfBasmMuDuU743rvR3uiil8URbL54WqXhhInUFyB1vd+1+aPY8TIFTKs MFiqaUUzPqpeuz8++us+bUely3Rlq9JPlj38I4Vs2hdDXsY7sfGM1TnIe8bxV2T1Heeh 3n4cuYQT9Im3q4rgguMpubnqjciOaYDWrn2eJ/4tQrUaW/Ud9IWDmn9/j8QiMVYf+Duv GCWdQYT+VYRf5yafHxOgusCJN/b6oZjM73N3xv5Eaqay0tgdZXyNryr2EYB2eDTXeS+n wfkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695673308; x=1696278108; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AZUHYRlun17URGHrJxQIB3NuvDKjQ/QHvhbGl/DivbM=; b=d3ulnxGbEC+4ZICuM4rYvDTeVLPJViWb0OJex7HIJKjoPrBoCAKhBuAWYBap5UszIB dbdPw/DAw2kwFOj3OmQgYOh6PEgFAehZVxgspIeIFp4RMTFWIO67LRdmK80p93mb6noD Q0TtpR8cDOPHLhDFsoYIrwT/ZxHAXnwCty0BvIeCl0CLLoLrnk6bULX11o+MyKS5dL0J Ic8VkHI78lik3Sgd5rtrDnZWLakj5x2MpCFaI11sxWuwKSIBsQNO23Wzv6Lt+dlQiRCx RO1RzWxRyhuGMIhnPoq6Sem1qUIsbOHsQzfBALBPf7iZ2AXoJxv4ft8s9OAc8/nUkkvX 81sQ== X-Gm-Message-State: AOJu0YyotJ3p5CwXiY9/OONMneXiVeGrN8M3wejydvaie9BTn5h1iYNy 0uKmYNjgmF6w5nSRSpYfpClq3Ca8OyEvGA== X-Google-Smtp-Source: AGHT+IGmbmhZXjO2Ip/43FZWYDn0n0+xCL2fZsPXCxsDkBB9mxSkujzleJcN0/07nOBGh3bUmxR7Cw== X-Received: by 2002:a17:906:81d2:b0:9ae:4536:728e with SMTP id e18-20020a17090681d200b009ae4536728emr5971896ejx.72.1695673307739; Mon, 25 Sep 2023 13:21:47 -0700 (PDT) Received: from localhost (h120217.upc-h.chello.nl. [62.194.120.217]) by smtp.gmail.com with ESMTPSA id n19-20020a170906165300b009a1c05bd672sm6696037ejd.127.2023.09.25.13.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 13:21:47 -0700 (PDT) From: pinoaffe Date: Mon, 25 Sep 2023 22:21:32 +0200 Message-ID: <8af1311eb4d516ae2c74f7d6e4601523cf42aabe.1695671343.git.pinoaffe@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <6ed1b70e5e02a6c46aedf8912ed8d3d5bfa247a8.1695671343.git.pinoaffe@gmail.com> References: <6ed1b70e5e02a6c46aedf8912ed8d3d5bfa247a8.1695671343.git.pinoaffe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.10 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 0580357458 X-Spam-Score: -4.10 X-TUID: C1eoIS9vP1// * gnu/packages/haskell-xyz.scm (ghc-twain): New variable. --- gnu/packages/haskell-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 75b84b10a7..95f2669586 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2022 Alice Brenon +;;; Copyright © 2023 pinoaffe ;;; ;;; This file is part of GNU Guix. ;;; @@ -483,6 +484,35 @@ (define-public ghc-wai communication between web applications and web servers.") (license license:bsd-3))) +(define-public ghc-twain + (package + (name "ghc-twain") + (version "2.1.2.0") + (source (origin + (method url-fetch) + (uri (hackage-uri "twain" version)) + (sha256 + (base32 + "1hkzp2g671dagmv1qznkf3mw3l2mslckg7h0a8x8633h6i3j6br0")))) + (build-system haskell-build-system) + (properties '((upstream-name . "twain"))) + (inputs (list ghc-aeson + ghc-case-insensitive + ghc-cookie + ghc-either + ghc-http-types + ghc-http2 + ghc-vault + ghc-wai + ghc-wai-extra)) + (native-inputs (list ghc-hspec ghc-hspec-discover ghc-hspec-wai)) + (home-page "https://github.com/alexmingoia/twain#readme") + (synopsis "Tiny web application framework for WAI") + (description + "Twain is tiny web application framework for WAI. It provides routing, +parameter parsing, and an either-like monad for composing responses.") + (license license:bsd-3))) + (define-public ghc-wai-logger (package (name "ghc-wai-logger") -- 2.41.0