guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

89/151: gnu: Add ghc-tasty-golden.


From: Paul
Subject: 89/151: gnu: Add ghc-tasty-golden.
Date: Tue, 20 Oct 2015 15:30:56 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 9a41dbb739a929a898a1a76366b8f940e852068f
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:18:42 2015 +0200

    gnu: Add ghc-tasty-golden.
    
    * gnu/packages/haskell.scm (ghc-tasty-golden): New variable.
---
 gnu/packages/haskell.scm |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e017595..ccfb087 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2877,6 +2877,41 @@ It is modeled after doctest for Python, see
 Haskell test framework.")
     (license expat)))
 
+(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-golden-";
+             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 «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.")
+    (license expat)))
+
 (define-public ghc-tasty
   (package
     (name "ghc-tasty")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]