[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
137/328: gnu: ghc-zip-archive: Update to 0.4.1.
From: |
guix-commits |
Subject: |
137/328: gnu: ghc-zip-archive: Update to 0.4.1. |
Date: |
Sat, 16 Nov 2019 19:32:43 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit ce67789cbce0023b1547677762577214f141be13
Author: Timothy Sample <address@hidden>
Date: Thu Oct 31 14:32:59 2019 -0400
gnu: ghc-zip-archive: Update to 0.4.1.
* gnu/packages/haskell-xyz.scm (ghc-zip-archive): Update to 0.4.1.
[arguments]: Add a phase that sets up the environment for the tests.
[native-inputs]: Add 'which'.
---
gnu/packages/haskell-xyz.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index ba512de..e6c3275 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11904,7 +11904,7 @@ documents.")
(define-public ghc-zip-archive
(package
(name "ghc-zip-archive")
- (version "0.3.3")
+ (version "0.4.1")
(source
(origin
(method url-fetch)
@@ -11914,15 +11914,26 @@ documents.")
".tar.gz"))
(sha256
(base32
- "0kf8xyac168bng8a0za2jwrbss7a4ralvci9g54hnvl0gkkxx2lq"))))
+ "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-PATH-for-tests
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((unzip (assoc-ref inputs "unzip"))
+ (which (assoc-ref inputs "which"))
+ (path (getenv "PATH")))
+ (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
+ #t))))))
(inputs
`(("ghc-digest" ,ghc-digest)
("ghc-temporary" ,ghc-temporary)
("ghc-zlib" ,ghc-zlib)))
(native-inputs
`(("ghc-hunit" ,ghc-hunit)
- ("unzip" ,unzip)))
+ ("unzip" ,unzip)
+ ("which" ,which)))
(home-page "https://hackage.haskell.org/package/zip-archive")
(synopsis "Zip archive library for Haskell")
(description "The zip-archive library provides functions for creating,
- 149/328: gnu: ghc-quickcheck-instances: Update to 0.3.22., (continued)
- 149/328: gnu: ghc-quickcheck-instances: Update to 0.3.22., guix-commits, 2019/11/16
- 155/328: gnu: ghc-megaparsec: Update to 7.0.5., guix-commits, 2019/11/16
- 148/328: gnu: Add ghc-time-compat., guix-commits, 2019/11/16
- 168/328: gnu: Add ghc-network-bsd., guix-commits, 2019/11/16
- 171/328: gnu: ghc-cgi: Update to 3001.4.0.0., guix-commits, 2019/11/16
- 176/328: gnu: ghc-email-validate: Update to 2.3.2.12., guix-commits, 2019/11/16
- 183/328: gnu: ghc-http-client: Update to 0.6.4., guix-commits, 2019/11/16
- 189/328: gnu: ghc-shakespeare: Update to 2.0.22., guix-commits, 2019/11/16
- 237/328: gnu: Add ghc-text-metrics., guix-commits, 2019/11/16
- 247/328: gnu: ghc-edit-distance: Update dependency constraints., guix-commits, 2019/11/16
- 137/328: gnu: ghc-zip-archive: Update to 0.4.1.,
guix-commits <=
- 215/328: gnu: ghc-either: Update to 5.0.1.1., guix-commits, 2019/11/16
- 210/328: gnu: Add ghc-retry., guix-commits, 2019/11/16
- 217/328: gnu: ghc-snap-server: Update to 1.1.1.1., guix-commits, 2019/11/16
- 222/328: gnu: ghc-cryptohash-sha1: Update Cabal file to r4., guix-commits, 2019/11/16
- 223/328: gnu: ghc-rebase: Update to 1.3.1.1., guix-commits, 2019/11/16
- 233/328: gnu: ghc-yaml: Update to 0.11.1.2., guix-commits, 2019/11/16
- 153/328: gnu: ghc-hsopenssl: Update to 0.11.4.17., guix-commits, 2019/11/16
- 161/328: gnu: ghc-bifunctors: Update to 5.5.5., guix-commits, 2019/11/16
- 164/328: gnu: ghc-aeson: Update to 1.4.5.0., guix-commits, 2019/11/16
- 167/328: gnu: ghc-attoparsec-iso8601: Update to 1.0.1.0., guix-commits, 2019/11/16