[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
127/257: gnu: ghc-uuid-types: Relax test framework dependency constraint
From: |
Ricardo Wurmus |
Subject: |
127/257: gnu: ghc-uuid-types: Relax test framework dependency constraints. |
Date: |
Thu, 27 Sep 2018 15:47:12 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 820d957c9a9044da077e676ed6eb9d0960669fc8
Author: Timothy Sample <address@hidden>
Date: Fri Aug 31 15:18:15 2018 -0400
gnu: ghc-uuid-types: Relax test framework dependency constraints.
* gnu/packages/haskell.scm (ghc-uuid-types)[arguments]: Remove
"--allow-newer" configure flags and add a phase that removes dependency
version constraints from all of the test frameworks.
---
gnu/packages/haskell.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index fdc77c3..a5f1628 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9034,8 +9034,16 @@ IPv4, IPv6 and MAC addresses.")
"1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
(build-system haskell-build-system)
(arguments
- `(#:configure-flags (list "--allow-newer=QuickCheck"
- "--allow-newer=HUnit")))
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'strip-test-framework-constraints
+ (lambda _
+ (substitute* "uuid-types.cabal"
+ (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
+ (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
+ (("tasty >= 0\\.10 && < 0\\.12") "tasty")
+ (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
+ (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
(inputs `(("ghc-hashable" ,ghc-hashable)
("ghc-random" ,ghc-random)
("ghc-text" ,ghc-text)))
- 20/257: gnu: ghc-sdl: Update to 0.6.7.0., (continued)
- 20/257: gnu: ghc-sdl: Update to 0.6.7.0., Ricardo Wurmus, 2018/09/27
- 09/257: gnu: ghc-colour: Update to 2.3.4., Ricardo Wurmus, 2018/09/27
- 147/257: gnu: ghc-temporary: Update to 1.3., Ricardo Wurmus, 2018/09/27
- 148/257: gnu: ghc-th-orphans: Update to 0.13.6., Ricardo Wurmus, 2018/09/27
- 133/257: gnu: ghc-uuid: Update Cabal file to r2 and relax dependencies., Ricardo Wurmus, 2018/09/27
- 140/257: gnu: ghc-logging-facade: Update to 0.3.0., Ricardo Wurmus, 2018/09/27
- 139/257: gnu: ghc-half: Update to 0.3., Ricardo Wurmus, 2018/09/27
- 136/257: gnu: ghc-constraints: Update to 0.10.1., Ricardo Wurmus, 2018/09/27
- 131/257: gnu: ghc-pem: Update to 0.2.4., Ricardo Wurmus, 2018/09/27
- 130/257: gnu: ghc-extra: Update to 1.6.9., Ricardo Wurmus, 2018/09/27
- 127/257: gnu: ghc-uuid-types: Relax test framework dependency constraints.,
Ricardo Wurmus <=
- 126/257: gnu: ghc-tar: Update to 0.5.1.0., Ricardo Wurmus, 2018/09/27
- 128/257: gnu: ghc-vector-binary-instances: Update Cabal file to r1., Ricardo Wurmus, 2018/09/27
- 125/257: gnu: ghc-integer-logarithms: Replace "--allow-newer" flag., Ricardo Wurmus, 2018/09/27
- 121/257: gnu: ghc-cookie: Update to 0.4.4., Ricardo Wurmus, 2018/09/27
- 118/257: gnu: ghc-tasty-hunit: Update to 0.10.0.1., Ricardo Wurmus, 2018/09/27
- 119/257: gnu: ghc-tasty-quickcheck: Update to 0.10., Ricardo Wurmus, 2018/09/27
- 117/257: gnu: ghc-tasty-expected-failure: Update to 0.11.1.1., Ricardo Wurmus, 2018/09/27
- 116/257: gnu: ghc-hmatrix-special: Update to 0.19.0.0., Ricardo Wurmus, 2018/09/27
- 113/257: gnu: ghc-hmatrix-gsl: Update to 0.19.0.1., Ricardo Wurmus, 2018/09/27
- 115/257: gnu: ghc-contravariant-extras: Update to 0.3.4., Ricardo Wurmus, 2018/09/27