all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul van der Walt <paul@denknerd.org>
To: guix-devel@gnu.org
Subject: [PATCH 22/43] gnu: ghc-hspec: New variables.
Date: Thu, 15 Oct 2015 14:21:16 +0200	[thread overview]
Message-ID: <1444911697-15515-22-git-send-email-paul@denknerd.org> (raw)
In-Reply-To: <1444911697-15515-1-git-send-email-paul@denknerd.org>

* gnu/packages/haskell.scm (ghc-hspec): New variable.
* gnu/packages/haskell.scm (ghc-hspec-expectations): New variable.
* gnu/packages/haskell.scm (ghc-hspec-discover): New variable.
* gnu/packages/haskell.scm (ghc-hspec-core): New variable.
* gnu/packages/haskell.scm (ghc-hspec-meta): New variable.
---
 gnu/packages/haskell.scm | 137 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 137 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index adc9d82..6ffdf11 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1416,6 +1416,143 @@ lets you set up HTTP connections, transmitting requests and processing the
 responses coming back.")
     (license bsd-3)))
 
+(define-public ghc-hspec
+  (package
+    (name "ghc-hspec")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/hspec/hspec-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0zqisxznlbszivsgy3irvf566zhcr6ipqqj3x9i7pj5hy913jwqf"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-hspec-core" ,ghc-hspec-core)
+       ("ghc-hspec-discover" ,ghc-hspec-discover)
+       ("ghc-hspec-expectations" ,ghc-hspec-expectations)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-hunit" ,ghc-hunit)))
+    (inputs
+     `(("ghc-stringbuilder" ,ghc-stringbuilder)
+       ("ghc-hspec-meta" ,ghc-hspec-meta)))
+    (home-page "http://hspec.github.io/")
+    (synopsis "Testing Framework for Haskell")
+    (description "Testing framework for Haskell, inspired by the Ruby library
+RSpec.")
+    (license expat)))
+
+(define-public ghc-hspec-expectations
+  (package
+    (name "ghc-hspec-expectations")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/hspec-expectations/hspec-expectations-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1w56jiqfyl237sr207gh3b0l8sr9layy0mdsgd5wknzb49mif6ip"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-hunit" ,ghc-hunit)))
+    (home-page
+     "https://github.com/sol/hspec-expectations#readme")
+    (synopsis "Catchy combinators for HUnit")
+    (description "Catchy combinators for HUnit:
+<https://github.com/sol/hspec-expectations#readme>.")
+    (license expat)))
+
+(define-public ghc-hspec-discover
+  (package
+    (name "ghc-hspec-discover")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/hspec-discover/hspec-discover-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0w3awzbljf4hqhxrjrxqa1lfcclg92bhmq641gz2q80vycspapzx"))))
+    (build-system haskell-build-system)
+    (arguments `(#:haddock? #f))
+    (inputs `(("ghc-hspec-meta" ,ghc-hspec-meta)))
+    (home-page "http://hspec.github.io/")
+    (synopsis "Automatically discover and run Hspec tests")
+    (description "Automatically discover and run Hspec tests.")
+    (license expat)))
+
+(define-public ghc-hspec-core
+  (package
+    (name "ghc-hspec-core")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/hspec-core/hspec-core-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1wgd55k652jaf81nkvciyqi67ycj7zamr4nd9z1cqf8nr9fc3sa4"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
+    (propagated-inputs
+     `(("ghc-setenv" ,ghc-setenv)
+       ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+       ("ghc-async" ,ghc-async)
+       ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
+    (inputs
+     `(("ghc-hunit" ,ghc-hunit)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-hspec-expectations" ,ghc-hspec-expectations)
+       ("ghc-silently" ,ghc-silently)))
+    (home-page "http://hspec.github.io/")
+    (synopsis "A Testing Framework for Haskell")
+    (description "Exposes internal types and functions that can be used to
+extend Hspec's functionality.")
+    (license expat)))
+
+(define-public ghc-hspec-meta
+  (package
+    (name "ghc-hspec-meta")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/hspec-meta/hspec-meta-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1fmqmgrzp135cxhmxxbaswkk4bqbpgfml00cmcz0d39n11vzpa5z"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-hunit" ,ghc-hunit)
+       ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+       ("ghc-async" ,ghc-async)
+       ("ghc-hspec-expectations" ,ghc-hspec-expectations)
+       ("ghc-setenv" ,ghc-setenv)
+       ("ghc-random" ,ghc-random)
+       ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
+    (home-page "http://hspec.github.io/")
+    (synopsis "A version of Hspec which is used to test Hspec itself")
+    (description "A stable version of Hspec which is used to test the
+in-development version of Hspec.")
+    (license expat)))
+
 (define-public ghc-async
   (package
     (name "ghc-async")
-- 
2.6.1

  parent reply	other threads:[~2015-10-15 12:22 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 12:20 [PATCH 01/43] gnu: ghc: Update to 7.10.2 Paul van der Walt
2015-10-15 12:20 ` [PATCH 02/43] gnu: ghc-old-locale: New package for updated GHC Paul van der Walt
2015-10-15 17:18   ` Paul van der Walt
2015-10-15 12:20 ` [PATCH 03/43] gnu: xmonad: Patch to work on new Haskell Platform Paul van der Walt
2015-10-19 13:36   ` Eric Bavier
2015-10-20 13:52     ` Paul van der Walt
2015-10-21 22:08       ` Eric Bavier
2015-10-22 10:13         ` Paul van der Walt
2015-10-15 12:20 ` [PATCH 04/43] gnu: ghc-xmonad-contrib: Update to version 0.11.4 Paul van der Walt
2015-10-19 13:37   ` Eric Bavier
2015-10-20 13:49     ` Paul van der Walt
2015-10-15 12:20 ` [PATCH 05/43] gnu: ghc-dlist: Update to 0.7.1.2 Paul van der Walt
2015-10-15 18:23   ` Efraim Flashner
2015-10-15 19:22     ` Paul van der Walt
2015-10-15 19:30     ` Paul van der Walt
2015-10-15 12:21 ` [PATCH 06/43] gnu: ghc-text: Update to 1.2.1.3 Paul van der Walt
2015-10-15 12:21 ` [PATCH 07/43] gnu: ghc-hashable: Update to 1.2.3.3 Paul van der Walt
2015-10-15 12:21 ` [PATCH 08/43] gnu: ghc-primitive: Update to 0.6.1.0 Paul van der Walt
2015-10-15 12:21 ` [PATCH 09/43] gnu: ghc-quickcheck: Update to 2.8.1 Paul van der Walt
2015-10-15 12:21 ` [PATCH 10/43] gnu: ghc-syb: Update to 0.6 Paul van der Walt
2015-10-15 12:21 ` [PATCH 11/43] gnu: ghc-vector: Update to 0.11.0.0 Paul van der Walt
2015-10-15 12:21 ` [PATCH 12/43] gnu: ghc-network: Update to 2.6.2.1 Paul van der Walt
2015-10-15 12:21 ` [PATCH 13/43] gnu: ghc-old-time: Add variable Paul van der Walt
2015-10-16 13:29   ` Efraim Flashner
2015-10-16 14:57     ` Paul van der Walt
2015-10-19 13:46   ` Eric Bavier
2015-10-20 13:48     ` Paul van der Walt
2015-10-15 12:21 ` [PATCH 14/43] gnu: ghc-http: Update to 4000.2.20 Paul van der Walt
2015-10-19 13:49   ` Eric Bavier
2015-10-20 13:46     ` Paul van der Walt
2015-10-15 12:21 ` [PATCH 15/43] gnu: cabal-install: Update to 1.22.6.0 Paul van der Walt
2015-10-15 12:21 ` [PATCH 16/43] gnu: ghc-ansi-terminal: New variable Paul van der Walt
2015-10-19 13:53   ` Eric Bavier
2015-10-20 13:45     ` Paul van der Walt
2015-10-15 12:21 ` [PATCH 17/43] gnu: ghc-containers: Remove variable Paul van der Walt
2015-10-19 14:01   ` Eric Bavier
2015-10-20 13:43     ` Paul van der Walt
2015-10-15 12:21 ` [PATCH 18/43] gnu: ghc-async: New variable Paul van der Walt
2015-10-19 14:08   ` Eric Bavier
2015-10-20 13:42     ` Paul van der Walt
2015-10-15 12:21 ` [PATCH 19/43] gnu: ghc-setenv: " Paul van der Walt
2015-10-19 14:14   ` Eric Bavier
2015-10-20 13:38     ` Paul van der Walt
2015-10-19 14:20   ` [PATCH 19/43] gnu: Add ghc-stringbuilder Eric Bavier
2015-10-20 13:33     ` Paul van der Walt
2015-10-15 12:21 ` [PATCH 20/43] gnu: ghc-quickcheck-io: Add variable Paul van der Walt
2015-10-15 12:21 ` [PATCH 21/43] gnu: ghc-transformers-compat: New variables Paul van der Walt
2015-10-19 14:37   ` Eric Bavier
2015-10-20 14:12     ` Paul van der Walt
2015-10-15 12:21 ` Paul van der Walt [this message]
2015-10-19 14:56   ` [PATCH 032/151] gnu: Add ghc-hspec-discover ericbavier
2015-10-20 13:30     ` Paul van der Walt
2015-10-20  9:59       ` Eric Bavier
2015-10-20 14:57       ` Ludovic Courtès
2015-10-20 15:31         ` Paul van der Walt
2015-10-20 15:18       ` Thompson, David
2015-10-15 12:21 ` [PATCH 23/43] gnu: ghc-regex-base: New variables Paul van der Walt
2015-10-15 12:21 ` [PATCH 24/43] gnu: ghc-split: Update dependencies Paul van der Walt
2015-10-15 12:33 ` [PATCH 01/43] gnu: ghc: Update to 7.10.2 Mathieu Lirzin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444911697-15515-22-git-send-email-paul@denknerd.org \
    --to=paul@denknerd.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.