From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 064/105] gnu: Add ghc-tasty-golden. Date: Thu, 15 Oct 2015 17:28:47 +0200 Message-ID: <1444922968-9205-22-git-send-email-paul@denknerd.org> References: <1444914384-24847-1-git-send-email-paul@denknerd.org> <1444922968-9205-1-git-send-email-paul@denknerd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkTq-0007mr-1a for guix-devel@gnu.org; Thu, 15 Oct 2015 11:30:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkTo-0001vE-CZ for guix-devel@gnu.org; Thu, 15 Oct 2015 11:30:09 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:42155 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkTo-0001uT-74 for guix-devel@gnu.org; Thu, 15 Oct 2015 11:30:08 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out01.mykolab.com (Postfix) with ESMTPS id EF633601A5 for ; Thu, 15 Oct 2015 17:30:01 +0200 (CEST) In-Reply-To: <1444922968-9205-1-git-send-email-paul@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-tasty-golden): New variable. --- gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index d0e7223..a041a35 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2932,6 +2932,41 @@ Python ().") "QuickCheck support for the Tasty test framework.") (license expat))) =20 +(define-public ghc-tasty-golden + (package + (name "ghc-tasty-golden") + (version "2.3.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/tasty-golden/tasty-gold= en-" + version + ".tar.gz")) + (sha256 + (base32 + "0n7nll1sx75n3lffwhgnjrxdn0jz1g0921z9mj193fxqw0wz8axh")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-temporary" ,ghc-temporary))) + (inputs + `(("ghc-tasty" ,ghc-tasty) + ("ghc-mtl" ,ghc-mtl) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-tagged" ,ghc-tagged) + ("ghc-async" ,ghc-async) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-temporary-rc" ,ghc-temporary-rc))) + (home-page + "https://github.com/feuerbach/tasty-golden") + (synopsis "Golden tests support for tasty") + (description + "This package provides support for =C2=ABgolden testing=C2=BB. A g= olden test is an +IO action that writes its result to a file. To pass the test, this outp= ut +file should be identical to the corresponding =C2=ABgolden=C2=BB file, w= hich contains +the correct result for the test.") + (license expat))) + (define-public ghc-tasty (package (name "ghc-tasty") --=20 2.6.1