From patchwork Wed Jun 14 12:48:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: zamfofex X-Patchwork-Id: 50887 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 7A3C727BBEA; Wed, 14 Jun 2023 13:50:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B705D27BBE2 for ; Wed, 14 Jun 2023 13:50:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9Pwr-0006cg-6q; Wed, 14 Jun 2023 08:50:05 -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 1q9Pwp-0006bx-Oh for guix-patches@gnu.org; Wed, 14 Jun 2023 08:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9Pwp-0004uc-FK for guix-patches@gnu.org; Wed, 14 Jun 2023 08:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9Pwo-00039L-I3; Wed, 14 Jun 2023 08:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64066] [PATCH 01/19] gnu: Add ghc-proctest Resent-From: zamfofex Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Wed, 14 Jun 2023 12:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64066@debbugs.gnu.org Cc: zamfofex , Lars-Dominik Braun X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by 64066-submit@debbugs.gnu.org id=B64066.168674697211950 (code B ref 64066); Wed, 14 Jun 2023 12:50:02 +0000 Received: (at 64066) by debbugs.gnu.org; 14 Jun 2023 12:49:32 +0000 Received: from localhost ([127.0.0.1]:43996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9PwJ-00036g-Fw for submit@debbugs.gnu.org; Wed, 14 Jun 2023 08:49:31 -0400 Received: from mta-13-4.privateemail.com ([198.54.127.109]:20977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9PwG-00036Q-Uk for 64066@debbugs.gnu.org; Wed, 14 Jun 2023 08:49:30 -0400 Received: from mta-13.privateemail.com (localhost [127.0.0.1]) by mta-13.privateemail.com (Postfix) with ESMTP id 25C8F18000BF; Wed, 14 Jun 2023 08:49:22 -0400 (EDT) Received: from localhost.localdomain (unknown [189.7.70.215]) by mta-13.privateemail.com (Postfix) with ESMTPA id 3BFBF18000A0; Wed, 14 Jun 2023 08:49:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default; t=1686746962; bh=ynkl9YjnfUE5pFyLhKf2CnpRAX5Oa1uA7TgIgflW0ck=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eP8rOebz2AhFaLa+0O/7jrJ9Cvz7vJaUdzLjiHyftw4vgADaZd8HxGOGlPuSYy2Cz fg09mEjoKtxzM/xMozLCZXaRWvBalbxa1s1atJ4IAiKh/wrbGKdhvz8PKnWTXrwQa2 VrhnuVSFpiLWg+/m00D56GVyWfyIv41pMcMH86kcr8DFf4a76Dirna91dRlvKzDapT fi0xlc/3KfjsarcggJHttjGXOJghW93JZPacN2WGx3f4QzxEEoX4LwR3UYPsiirP6q a3M51+WhhV/h0nh15ruBwiVgr5o1WTYolnT7ALE8Ns20iqPnOPHiNL1juwdSDvsS2T 1Lx2Z/yugVyMw== From: zamfofex Date: Wed, 14 Jun 2023 09:48:41 -0300 Message-Id: <044ffb474529e534682f660d60becd3b124392b1.1686746568.git.zamfofex@twdb.moe> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-check.scm (ghc-proctest): New variable. --- gnu/packages/haskell-check.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm index da05582400..43c654b24f 100644 --- a/gnu/packages/haskell-check.scm +++ b/gnu/packages/haskell-check.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2020 John Soo ;;; Copyright © 2020 Carlo Holl ;;; Copyright © 2021 John Kehayias +;;; Copyright © 2023 zamfofex ;;; ;;; This file is part of GNU Guix. ;;; @@ -1180,3 +1181,25 @@ (define-public ghc-tasty-inspection-testing "Integrate @@inspection-testing@@ into @@tasty@@ test suites.") (license license:expat))) +(define-public ghc-proctest + (package + (name "ghc-proctest") + (version "0.1.3.0") + (source (origin + (method url-fetch) + (uri (hackage-uri "proctest" version)) + (sha256 + (base32 + "02iz323arx9zwclvspgaaqz81bp6jdnj89pjm08n2gamg39zsbdn")))) + (build-system haskell-build-system) + (properties '((upstream-name . "proctest"))) + (inputs (list ghc-hunit ghc-hspec ghc-quickcheck)) + (home-page "https://github.com/nh2/proctest") + (synopsis "An IO library for testing interactive command line programs") + (description + "An IO library for testing interactive command line programs. Proctest aims to +simplify interacting with and testing terminal programs, providing convenience +functions for starting programs and reading their output. All blocking operations +support timeouts so that misbehaving programs cannot block your test pipeline. Find +more examples and contribute at .") + (license license:expat)))