guix-commits
[Top][All Lists]
Advanced

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

139/328: gnu: ghc-graphviz: Update to 2999.20.0.3.


From: guix-commits
Subject: 139/328: gnu: ghc-graphviz: Update to 2999.20.0.3.
Date: Sat, 16 Nov 2019 19:32:54 -0500 (EST)

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

commit f052b873132e652855f75fddecccfc9819e785d6
Author: Timothy Sample <address@hidden>
Date:   Thu Oct 31 10:31:44 2019 -0400

    gnu: ghc-graphviz: Update to 2999.20.0.3.
    
    * gnu/packages/haskell-xyz.scm (ghc-graphviz): Update to 2999.20.0.3.
    [arguments]: Change the phase that updates the Cabal file to allow for
    newer versions of 'hspec' and 'QuickCheck'.
---
 gnu/packages/haskell-xyz.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 6a5f26b..8dec2a1 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -4046,15 +4046,25 @@ programs.")
 (define-public ghc-graphviz
   (package
     (name "ghc-graphviz")
-    (version "2999.20.0.2")
+    (version "2999.20.0.3")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://hackage.haskell.org/package/";
                                   "graphviz/graphviz-" version ".tar.gz"))
               (sha256
                (base32
-                "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
+                "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g"))))
     (build-system haskell-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'update-constraints
+           (lambda _
+             (substitute* "graphviz.cabal"
+               (("QuickCheck >= 2\\.3 && < 2\\.13")
+                "QuickCheck >= 2.3 && < 2.14")
+               (("hspec >= 2\\.1 && < 2\\.7")
+                "hspec >= 2.1 && < 2.8")))))))
     (inputs
      `(("ghc-quickcheck" ,ghc-quickcheck)
        ("ghc-colour" ,ghc-colour)



reply via email to

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