From patchwork Thu Jun 30 04:51:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: WinterHound X-Patchwork-Id: 40420 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 433D727BBEA; Thu, 30 Jun 2022 05:59:27 +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,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 B1B1327BBE9 for ; Thu, 30 Jun 2022 05:59:26 +0100 (BST) Received: from localhost ([::1]:53682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6mGz-0008Ok-QM for patchwork@mira.cbaines.net; Thu, 30 Jun 2022 00:59:25 -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= Authentication-Results: iva4-f37646ae0ac9.qloud-c.yandex.net; dkim=pass header.i=@yandex.com 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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- 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))) +