guix-commits
[Top][All Lists]
Advanced

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

133/257: gnu: ghc-uuid: Update Cabal file to r2 and relax dependencies.


From: Ricardo Wurmus
Subject: 133/257: gnu: ghc-uuid: Update Cabal file to r2 and relax dependencies.
Date: Thu, 27 Sep 2018 15:47:14 -0400 (EDT)

rekado pushed a commit to branch wip-haskell
in repository guix.

commit 79da0cbd855da9e2470b2497967f2ab186c4049d
Author: Timothy Sample <address@hidden>
Date:   Fri Aug 31 16:07:50 2018 -0400

    gnu: ghc-uuid: Update Cabal file to r2 and relax dependencies.
    
    * gnu/packages/haskell.scm (ghc-uuid): Update Cabal file to r2.
    [arguments]: Add a phase to remove test framework dependency version
    constraints.
---
 gnu/packages/haskell.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5d5815a..da29e15 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9078,8 +9078,18 @@ functions.")
          "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
     (build-system haskell-build-system)
     (arguments
-     `(#:configure-flags (list "--allow-newer=QuickCheck"
-                               "--allow-newer=HUnit")))
+     `(#:cabal-revision
+       ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'strip-test-framework-constraints
+           (lambda _
+             (substitute* "uuid.cabal"
+               (("HUnit            >= 1\\.2   && < 1\\.4") "HUnit")
+               (("QuickCheck       >= 2\\.4   && < 2\\.10") "QuickCheck")
+               (("tasty            >= 0\\.10  && < 0\\.12") "tasty")
+               (("tasty-hunit      == 0\\.9\\.\\*") "tasty-hunit")
+               (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
     (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
               ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
               ("ghc-entropy" ,ghc-entropy)



reply via email to

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