guix-commits
[Top][All Lists]
Advanced

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

132/177: gnu: Add ghc-tasty-expected-failure.


From: Ricardo Wurmus
Subject: 132/177: gnu: Add ghc-tasty-expected-failure.
Date: Tue, 13 Feb 2018 07:38:24 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit ee448389cd3fb39f0f366bb71c6e9008b95ecb0a
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Feb 13 09:24:05 2018 +0100

    gnu: Add ghc-tasty-expected-failure.
    
    * gnu/packages/haskell-check.scm (ghc-tasty-expected-failure): New variable.
---
 gnu/packages/haskell-check.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm
index e60bf46..c703209 100644
--- a/gnu/packages/haskell-check.scm
+++ b/gnu/packages/haskell-check.scm
@@ -311,6 +311,32 @@ only those tests that failed in the last run, or to only 
run the tests that have
 been added since previous test run.")
   (license license:bsd-3)))
 
+(define-public ghc-tasty-expected-failure
+  (package
+    (name "ghc-tasty-expected-failure")
+    (version "0.11.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "tasty-expected-failure/tasty-expected-failure-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0r555f18d2gj96pjyc13chn1nxaxl81am4xgip3mvvjhw8s5mva1"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-tagged" ,ghc-tagged)
+       ("ghc-tasty" ,ghc-tasty)))
+    (home-page "http://github.com/nomeata/tasty-expected-failure";)
+    (synopsis "Mark tasty tests as failure expected")
+    (description
+     "With the function @code{Test.Tasty.ExpectedFailure.expectFail} in the
+provided module @code{Test.Tasty.ExpectedFailure}, you can mark that you
+expect test cases to fail, and not to pass. This can be used for test-driven
+development.")
+    (license license:expat)))
+
 (define-public ghc-quickcheck-instances
   (package
     (name "ghc-quickcheck-instances")



reply via email to

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