From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8PZNB62NN2U1MwAAG6o9tA:P1 (envelope-from ) for ; Tue, 24 Oct 2023 11:26:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8PZNB62NN2U1MwAAG6o9tA (envelope-from ) for ; Tue, 24 Oct 2023 11:26:05 +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 B9EFF42366 for ; Tue, 24 Oct 2023 11:26:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MackG15R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698139564; a=rsa-sha256; cv=none; b=Yo/IrdqL4mCJ3f49ik5F/erTNFZimgouQXokpZfkqBSafNSmLaUl9T6bGel0H/uC/V7pzi ekt2V8IrO3t2j9PD9ye++VlouniD235I/sgPO65oi8aUjF8/pq4HwJGB5XkPal4XqUpgDH dlqIwOVvv1Vxj3IfySeOMrlvOOg5xtPI0XK5YvI1ZwXMXPP5bxt+e6/q8nulxoBVcrHcxO 1S21bdhBLeLUoOD+fCo7ZiAiMiptCE804WhNRzkUo2dMiwlNByH0Or4qvql9SIiS2gUM8c iS4ZJPTicw3IZg2I5BlfTKW/A1SjBOLMw7lA51whCqWNHwN5fjbuTsGXEjy0+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MackG15R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698139564; 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=SM6y2XH94lyRu6BOUCUq5NzB3zm6Bbbk3MA/UUkUh68=; b=R397KFTWh92LGiT3XHIzBUouuNVo5cDk12wN1eRiLqfg24dlmfvf4iu8ddd3zgwowYwskh P5cdnin1C+9x6cpktQ1QDUZFfFmCIiatR00T9k5xLxm+pEJKE5x8d//NDWUYrCCRUTBwTH SpchhYCzLi1uvXhP2rQU+ZhXNG22vuAENEqYMSU1eF0DKiN9UR3BwzkZ/N49Xtw+k5FUET Kk6Lpk1ir4Ydz2ASjE+LBpvHfpHWYWyw0y3xlqHnkpY/PezeVHbo/JO4XpxTJCprI3vtmN 8RWoagfyQZehafk0ajxV2HqOjheQJRqIX6tm3iCVWYaIy0KS+bO2kt7O9y8R1w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvDfN-0003fR-H7; Tue, 24 Oct 2023 05:25:37 -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 1qvDfJ-0003ei-UQ for guix-patches@gnu.org; Tue, 24 Oct 2023 05:25:34 -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 1qvDfJ-0005mK-9j for guix-patches@gnu.org; Tue, 24 Oct 2023 05:25:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvDfm-0001qX-Ab; Tue, 24 Oct 2023 05:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65976] [PATCH v4 1/4] gnu: Add ghc-twain. References: <874jjxhwbi.fsf@gmail.com> In-Reply-To: <874jjxhwbi.fsf@gmail.com> Resent-From: pinoaffe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Tue, 24 Oct 2023 09:26:02 +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.16981395126996 (code B ref 65976); Tue, 24 Oct 2023 09:26:02 +0000 Received: (at 65976) by debbugs.gnu.org; 24 Oct 2023 09:25:12 +0000 Received: from localhost ([127.0.0.1]:53147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvDex-0001ok-Nq for submit@debbugs.gnu.org; Tue, 24 Oct 2023 05:25:12 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:61772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvDet-0001oH-S6 for 65976@debbugs.gnu.org; Tue, 24 Oct 2023 05:25:10 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-9be7e3fa1daso630159866b.3 for <65976@debbugs.gnu.org>; Tue, 24 Oct 2023 02:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698139472; x=1698744272; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SM6y2XH94lyRu6BOUCUq5NzB3zm6Bbbk3MA/UUkUh68=; b=MackG15R7N3ychhfhGDCDw5PJmFBZqEJF+2DVN2tny4OX/wogjuY1mqMHHedRr3aV/ keGRLiEp+kkPn7Cpwib2+VNHSsq3lIsK0DDoncR71tGkDqGenX7MzEJU06kIiI1h0vO2 As6XhLz1LQL/2uG12kLjd5pT9C7UsxkYVzrTqOj56QpoBqctVUVo6yR/4V7SxQr/RVWe V/2aSFs6W2C/nP6eFyByMau+g6hiDOQpqjF1d8oB0Wpn85qkLXbQxyZ+/xK6hiREWfwx VlRWHNqyGKjEE2/KdopEg+B1q0fn0+F/AJKd7DVNTVV23slIbhEh0ZxUhBVl85r2x2L5 UKxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698139472; x=1698744272; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SM6y2XH94lyRu6BOUCUq5NzB3zm6Bbbk3MA/UUkUh68=; b=phthEyj0yzStOoJSLe3oKga5SfLifTPV3BswLo0/Nwm537KBJ0tsNZ2PctoUICwYYU o9EKyoor83hvVv2z44BpqMAQvfcrsQb8fEr9fBxgSUOy+S78iOTQWMhrm7nn96Df+BoI djDXg0RvQEVYxk91N5K4eCLpMjXTB2lVqICqxkrbagUVcEivTBA6fSGP68LE2MmYipnE khYn5xqPXhFM7d0ZAkJ8H+zpjJ6Zv4XUWddxvnrL6PokEqi9w4pKz53xmlOJHCytS2KK 27HbH1eVAbh55yRKo1TkX4qP4SGPSbmHH2jSR7cdmC/KyPky3qTYDeKEIT6f1jh29nXz Oj5g== X-Gm-Message-State: AOJu0YyUzR5Qddqbx6W+owrhSTFHaO69H/ERSkXh5fSeNFMz+gZkp67E UtVcwdC15bY01yWGXYYmrqAmMRIjSPc= X-Google-Smtp-Source: AGHT+IH4D+HxC7RXrSzGs+Y5fXlYDH/aRXl974LwoATZ+LumlIz/A734a8LV1zj/HB+vY0QiqvOlcQ== X-Received: by 2002:a17:907:1c85:b0:9b2:b768:3cfc with SMTP id nb5-20020a1709071c8500b009b2b7683cfcmr7732941ejc.1.1698139472018; Tue, 24 Oct 2023 02:24:32 -0700 (PDT) Received: from localhost (h120217.upc-h.chello.nl. [62.194.120.217]) by smtp.gmail.com with ESMTPSA id n27-20020a170906119b00b009ae587ce133sm7988811eja.188.2023.10.24.02.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 02:24:31 -0700 (PDT) From: pinoaffe Date: Tue, 24 Oct 2023 11:24:05 +0200 Message-ID: <4149766749298f89bf699a9484b0ce8c5755083a.1698139370.git.pinoaffe@gmail.com> X-Mailer: git-send-email 2.41.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 3.87 X-Spam-Score: 3.87 X-Migadu-Queue-Id: B9EFF42366 X-TUID: OAu3Ye5Z7ep8 * 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") base-commit: 7383d15641f17af5a8c656a4ad592138abc7d5ec -- 2.41.0