[PATCH] gnu: Add ghc-tasty-hspec

DoneSubmitted by Robert Vollmert.
Details
2 participants
  • Marius Bakke
  • Robert Vollmert
Owner
unassigned
Severity
normal
R
R
Robert Vollmert wrote on 17 Jul 2019 16:08
(address . guix-patches@gnu.org)(name . Robert Vollmert)(address . rob@vllmrt.net)
20190717140814.24545-1-rob@vllmrt.net
* gnu/packages/haskell-check.scm (ghc-tasty-hspec): New field.---
This builds fine, but warns:
Configuring tasty-hspec-1.1.5.1...Warning: This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure. package hspec-core (hspec-core-2.5.5-H06vLnMfEeIEsZFdji6h0O) requires clock-0.7.2-9qwmBbNbGzEOSffjlyarp package tasty (tasty-1.1.0.3-I8Vu9v0lHj8Jlg3jpKXavp) requires clock-0.7.2-Cf9UTsaN2AjEpBnoMpmgkU
Compare https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36084
gnu/packages/haskell-check.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)
Toggle diff (44 lines)diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scmindex 589eee74d9..8833dd5d21 100644--- a/gnu/packages/haskell-check.scm+++ b/gnu/packages/haskell-check.scm@@ -837,3 +837,37 @@ of generated values by construction. To get started quickly, see the examples: @uref{https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example}") (license license:bsd-3)))++(define-public ghc-tasty-hspec+ (package+ (name "ghc-tasty-hspec")+ (version "1.1.5.1")+ (source+ (origin+ (method url-fetch)+ (uri (string-append+ "https://hackage.haskell.org/package/tasty-hspec/tasty-hspec-"+ version+ ".tar.gz"))+ (sha256+ (base32+ "0i9kdzjpk750sa078jj3iyhp72k0177zk7vxl131r6dkyz09x27y"))))+ (build-system haskell-build-system)+ (inputs+ `(("ghc-hspec" ,ghc-hspec)+ ("ghc-hspec-core" ,ghc-hspec-core)+ ("ghc-quickcheck" ,ghc-quickcheck)+ ("ghc-tasty" ,ghc-tasty)+ ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))+ (arguments+ `(#:cabal-revision+ ("3"+ "1wgz3z5bnq5qml8d0i18gvz30dmmax3686lmqz3vf4hxd3vqfkpj")))+ (home-page+ "https://github.com/mitchellwrosen/tasty-hspec")+ (synopsis+ "Hspec support for the Tasty test framework.")+ (description+ "This package provides a Tasty provider for Hspec test suites.")+ (license license:bsd-3)))-- 2.20.1 (Apple Git-117)
M
M
Marius Bakke wrote on 21 Mar 21:02 +0100
(name . Robert Vollmert)(address . rob@vllmrt.net)
87k13d5vdl.fsf@devup.no
Closing in favor of #38423. Thanks!
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl52cuYACgkQoqBt8qM6VPonhAgAkA8Wm/W9qW4eDqSUZ0wJamUqIgVC/pWhpZ2a753+pDMzlhVHJvXpscj5oJlkA2QEu2uB4f7ds3XZ7WAXPzJeFhtZKj0j3GX+cl54fp230JVE0GDCBLH0PTT1wCUsXaI+Ee5rs5IDepZ9ySnU0q9iYi6ftdpBbvfDV96fsWU3N7xAcGx/40jQ3pqXvs+9Z5FiFZEBkX2u0YG1Tl1AydkwK+Zphy6/IPrjkoIwBjPbYseZHWRBiUaXqPnpqrCc/aGnTSavFtbYlt2ayZSoKawp0/tm2358baoA4f9XQY3uYte4uDRqrdkrgn3SJvZMiOS7pRnwVegJ07Sq9qnYsTy/mg===d4zf-----END PGP SIGNATURE-----
?