From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cNeKN6stvWLCBQAAbAwnHQ (envelope-from ) for ; Thu, 30 Jun 2022 06:59:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WDBoN6stvWIcEAEA9RJhRA (envelope-from ) for ; Thu, 30 Jun 2022 06:59:23 +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 C514A3CACC for ; Thu, 30 Jun 2022 06:59:22 +0200 (CEST) Received: from localhost ([::1]:53682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6mGv-0008Ok-Fh for larch@yhetil.org; Thu, 30 Jun 2022 00:59:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6mAo-0004ym-Si for guix-patches@gnu.org; Thu, 30 Jun 2022 00:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6mAo-0007Ca-Jq for guix-patches@gnu.org; Thu, 30 Jun 2022 00:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6mAo-0001nl-J3 for guix-patches@gnu.org; Thu, 30 Jun 2022 00:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56315] Add ghc-microspec Resent-From: WinterHound Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jun 2022 04:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56315 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 56315@debbugs.gnu.org Cc: WinterHound X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16565647576888 (code B ref -1); Thu, 30 Jun 2022 04:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jun 2022 04:52:37 +0000 Received: from localhost ([127.0.0.1]:60585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6mAP-0001n2-G8 for submit@debbugs.gnu.org; Thu, 30 Jun 2022 00:52:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:43980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6mAN-0001mt-00 for submit@debbugs.gnu.org; Thu, 30 Jun 2022 00:52:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6mAM-0003tG-O0 for guix-patches@gnu.org; Thu, 30 Jun 2022 00:52:34 -0400 Received: from forward102j.mail.yandex.net ([2a02:6b8:0:801:2::102]:57028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6mAI-00074A-Fo for guix-patches@gnu.org; Thu, 30 Jun 2022 00:52:34 -0400 Received: from iva4-f37646ae0ac9.qloud-c.yandex.net (iva4-f37646ae0ac9.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:129b:0:640:f376:46ae]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 879434BE96B3 for ; Thu, 30 Jun 2022 07:51:28 +0300 (MSK) Received: from iva3-6d6b5ab252da.qloud-c.yandex.net (iva3-6d6b5ab252da.qloud-c.yandex.net [2a02:6b8:c0c:c19:0:640:6d6b:5ab2]) by iva4-f37646ae0ac9.qloud-c.yandex.net (mxback/Yandex) with ESMTP id dx3s4WOQvS-pSg8shXd; Thu, 30 Jun 2022 07:51:28 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1656564688; bh=HmwrMiG6VHRlWJz6K2nCgFP/H9rd3G7YCmDu2Dw5nQc=; h=In-Reply-To:References:Date:Subject:Cc:To:From:Message-Id; b=pNAbTcMThT57WFG3mqz2IXYVb2DHlTcCJAWnzDf9OlQwaPeuseHT8p5I3L6foPRS8 egAnva15lS3z3RC0nu3o8n+njPzINX2yeD6rD7NBYwVHGXBuKLKW8tci6LiZKmMZAW k3jSpvhKFNll0d69tWi9Rab5Gpa5bhRmFoCia9fE= Received: by iva3-6d6b5ab252da.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id ZiVBzthO9t-pRNiQiMo; Thu, 30 Jun 2022 07:51:27 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: WinterHound Date: Thu, 30 Jun 2022 10:21:08 +0530 Message-Id: <20220630045109.17836-2-winterhound@yandex.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220630045109.17836-1-winterhound@yandex.com> References: <20220630045109.17836-1-winterhound@yandex.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:6b8:0:801:2::102; envelope-from=winterhound@yandex.com; helo=forward102j.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656565162; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=HmwrMiG6VHRlWJz6K2nCgFP/H9rd3G7YCmDu2Dw5nQc=; b=mncl1YabNmuvhb0x6Z9FOHlS3qbvaxdgzjSwGXmIrh7ZbS/1fc2wKLuo25GnYjqbZfACuf XxYNSbOfbjn6TNrFRi+C3AYF+7aYd49wf8DR9/Vc5pC6k9MQ4miinDm2XpTvw3xuemnoC8 Nx93NjbG8rKXdzRWp4OHgepaoIDlcJtAzuL+1cIRJ7KEoUQrq4xnoPCLEZwnU3cIe72qeP oqBpfBf5n7mgEXGYiqDVM9ydwF7y0XIKSBxow45fn2bUawPSIEfaUGxSA/2JjJJh/vvt95 Tbk9ztFJ26HPZPjAh2ujhKxKKRwOhM+Hgt8guUERo6KINggW8wIOTrNEZgK+DQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656565162; a=rsa-sha256; cv=none; b=AiiBWPfPsxnUW/VZb1gk+A2lqojMr1CQOXbyQ8Zcl3h4k4hjhGgtqsNZv6mxUylCUGynLL CwDPKT8sSPnOnw+pMpgGNQl1t/z35owtyHpWxbhbdF7gYbD3qBToD3aUO0lLkoaF8w6WoT KSZQnd7WPMrvG8/WvYXyXz5c1qDEKaaktUkzLuzG7jSJ0S3Jj0J5luZVNi4Z/t5uDrpobd 9GtVAfxkojTYOepiyENE7Op8y84a25XW71X7zAXsTzmCQ4Jy5COQE1Mbw4BzvZVVPpD+bu AK9R/Swu28lGcb0YAB8m3vrhf88M6seqJIihxYiKdrkIvsvh/5YU6vOzlmXdDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b=pNAbTcMT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.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" X-Migadu-Spam-Score: 6.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b=pNAbTcMT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.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" X-Migadu-Queue-Id: C514A3CACC X-Spam-Score: 6.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: rNpyS74ujnZg --- gnu/packages/haskell-check.scm | 55 +++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm index 62433cdb15..06c11e2ccb 100644 --- a/gnu/packages/haskell-check.scm +++ b/gnu/packages/haskell-check.scm @@ -1214,31 +1214,31 @@ (define-public ghc-tasty-silver (name "ghc-tasty-silver") (version "3.2.3") (source - (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/tasty-silver/tasty-silver-" - version - ".tar.gz")) - (sha256 - (base32 "0nvh2k8iqqkanmp7lpwd3asimyarzisly8wavbdahcxryn0j4xb7")))) + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/tasty-silver/tasty-silver-" + version + ".tar.gz")) + (sha256 + (base32 "0nvh2k8iqqkanmp7lpwd3asimyarzisly8wavbdahcxryn0j4xb7")))) (build-system haskell-build-system) (inputs - (list ghc-ansi-terminal - ghc-async - ghc-optparse-applicative - ghc-process-extras - ghc-regex-tdfa - ghc-semigroups - ghc-tagged - ghc-tasty - ghc-temporary)) + (list ghc-ansi-terminal + ghc-async + ghc-optparse-applicative + ghc-process-extras + ghc-regex-tdfa + ghc-semigroups + ghc-tagged + ghc-tasty + ghc-temporary)) (native-inputs (list ghc-tasty-hunit ghc-silently)) (home-page "https://github.com/phile314/tasty-silver") (synopsis "Fancy test runner, including support for golden tests") (description - "This package provides a fancy test runner and support for @dfn{golden + "This package provides a fancy test runner and support for @dfn{golden testing}. A golden test is an IO action that writes its result to a file. To pass the test, this output file should be identical to the corresponding ``golden'' file, which contains the correct result for the test. The test @@ -1246,3 +1246,22 @@ (define-public ghc-tasty-silver result of golden tests.") (license license:expat))) +(define-public ghc-microspec + (package + (name "ghc-microspec") + (version "0.2.1.3") + (source + (origin + (method url-fetch) + (uri (hackage-uri "microspec" version)) + (sha256 + (base32 "0615gdbsk7i3w71adjp69zabw4mli965wffm2h846hp6pjj31xcb")))) + (build-system haskell-build-system) + (inputs (list ghc-quickcheck)) + (home-page "http://hackage.haskell.org/package/microspec") + (synopsis "Tiny QuickCheck test library with minimal dependencies") + (description + "This package provides a tiny (1 module, <500 lines) property-based +(and unit) testing library with minimal dependencies.") + (license license:bsd-3))) + -- 2.36.1