;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2015 Eric Bavier ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016 ng0 ;;; Copyright © 2016 David Craven ;;; Copyright © 2017 Danny Milosavljevic ;;; Copyright © 2017 rsiddharth ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Tonton ;;; Copyright © 2018 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages haskell-check) #:use-module (gnu packages) #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-xyz) #:use-module (guix build-system haskell) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils)) (define-public ghc-tasty-ant-xml (package (name "ghc-tasty-ant-xml") (version "1.1.4") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/tasty-ant-xml/tasty-ant-xml-" version ".tar.gz")) (sha256 (base32 "0v0gsb90kh6hwlgxbclzawsskywc6yf7n8xhiifia97l4y0yx2m8")))) (build-system haskell-build-system) (inputs `(("ghc-generic-deriving" ,ghc-generic-deriving) ("ghc-xml" ,ghc-xml) ("ghc-tagged" ,ghc-tagged) ("ghc-tasty" ,ghc-tasty))) (home-page "https://github.com/ocharles/tasty-ant-xml") (synopsis "Render tasty output to XML for Jenkins") (description "A tasty ingredient to output test results in XML, using the Ant schema. This XML can be consumed by the Jenkins continuous integration framework.") (license license:bsd-3))) (define-public ghc-tasty-smallcheck (package (name "ghc-tasty-smallcheck") (version "0.8.1") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/tasty-smallcheck/tasty-smallcheck-" version ".tar.gz")) (sha256 (base32 "1n66ngzllf3xrlqykwszlkwsi96n5nkm7xbpfq7774vpvfnafjri")))) (build-system haskell-build-system) (inputs `(("ghc-tasty" ,ghc-tasty) ("ghc-smallcheck" ,ghc-smallcheck) ("ghc-async" ,ghc-async) ("ghc-tagged" ,ghc-tagged))) (home-page "https://documentup.com/feuerbach/tasty") (synopsis "SmallCheck support for the Tasty test framework") (description "This package provides SmallCheck support for the Tasty Haskell test framework.") (license license:bsd-3))) (define-public ghc-tasty-quickcheck (package (name "ghc-tasty-quickcheck") (version "0.10") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/tasty-quickcheck/" "tasty-quickcheck-" version ".tar.gz")) (sha256 (base32 "0vr6szbbz3s5461i0zr8zpq347zfvidfzv5gf3xwxhm0yk731z8h")))) (build-system haskell-build-system) (inputs `(("ghc-quickcheck" ,ghc-quickcheck) ("ghc-tagged" ,ghc-tagged) ("ghc-tasty" ,ghc-tasty) ("ghc-random" ,ghc-random) ("ghc-ansi-terminal" ,ghc-ansi-terminal) ("ghc-tasty-hunit" ,ghc-tasty-hunit) ("ghc-pcre-light" ,ghc-pcre-light))) (home-page "http://documentup.com/feuerbach/tasty") (synopsis "QuickCheck support for the Tasty test framework") (description "This package provides QuickCheck support for the Tasty Haskell test framework.") (license license:expat))) (define-public ghc-tasty-golden (package (name "ghc-tasty-golden") (version "2.3.2") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/tasty-golden/tasty-golden-" version ".tar.gz")) (sha256 (base32 "0k3ibjhjc9vcwzrjnl4rnwvfm8l81q347nb7dgvcib6n5wm3s404")))) (build-system haskell-build-system) (inputs `(("ghc-temporary" ,ghc-temporary) ("ghc-tasty" ,ghc-tasty) ("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 @code{golden testing}. A @dfn{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 @code{golden} file, which contains the correct result for the test.") (license license:expat))) (define-public ghc-tasty (package (name "ghc-tasty") (version "1.1.0.3") (source (origin (method url-fetch) (uri (string-append "https://hackage.haskell.org/package/tasty/tasty-" version ".tar.gz")) (sha256 (base32 "14riid753hjqr6lca1kgxpnvq0wykf0k3qc5jpag42hh8bszav22")))) (build-system haskell-build-system) (inputs `(("ghc-tagged" ,ghc-tagged) ("ghc-regex-tdfa" ,ghc-regex-tdfa) ("ghc-optparse-applicative" ,ghc-optparse-applicative) ("ghc-unbounded-delays" ,ghc-unbounded-delays) ("ghc-async" ,ghc-async) ("ghc-ansi-terminal" ,ghc-ansi-terminal) ("ghc-clock-bootstrap" ,ghc-clock-bootstrap) ("ghc-wcwidth" ,ghc-wcwidth-bootstrap))) (home-page "http://documentup.com/feuerbach/tast