[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
137/329: gnu: ghc-zip-archive: Update to 0.4.1.
From: |
guix-commits |
Subject: |
137/329: gnu: ghc-zip-archive: Update to 0.4.1. |
Date: |
Wed, 20 Nov 2019 21:17:42 -0500 (EST) |
samplet pushed a commit to branch master
in repository guix.
commit 93c1fdd3032446f3933fba5c6bae367a191dd1d4
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,
- 192/329: gnu: ghc-io-streams-haproxy: Update to 1.0.1.0., (continued)
- 192/329: gnu: ghc-io-streams-haproxy: Update to 1.0.1.0., guix-commits, 2019/11/20
- 90/329: gnu: ghc-hmatrix-gsl-stats: Update to 0.4.1.8., guix-commits, 2019/11/20
- 100/329: gnu: ghc-blaze-markup: Update to 0.8.2.3., guix-commits, 2019/11/20
- 111/329: gnu: ghc-asn1-encoding: Update to 0.9.6., guix-commits, 2019/11/20
- 110/329: gnu: ghc-reflection: Update to 2.1.5., guix-commits, 2019/11/20
- 108/329: gnu: ghc-asn1-types: Update to 0.3.3., guix-commits, 2019/11/20
- 119/329: gnu: ghc-storable-complex: Update to 0.2.3.0., guix-commits, 2019/11/20
- 120/329: gnu: ghc-fast-logger: Update to 2.4.17., guix-commits, 2019/11/20
- 123/329: gnu: ghc-generic-deriving: Update to 1.12.4., guix-commits, 2019/11/20
- 127/329: gnu: ghc-openglraw: Update to 3.3.3.0., guix-commits, 2019/11/20
- 137/329: gnu: ghc-zip-archive: Update to 0.4.1.,
guix-commits <=
- 131/329: gnu: Add ghc-splitmix., guix-commits, 2019/11/20
- 147/329: gnu: ghc-system-fileio: Update to 0.3.16.4., guix-commits, 2019/11/20
- 143/329: gnu: ghc-typed-process: Update to 0.2.6.0., guix-commits, 2019/11/20
- 149/329: gnu: ghc-quickcheck-instances: Update to 0.3.22., guix-commits, 2019/11/20
- 150/329: gnu: ghc-tldr: Update to 0.4.0.2., guix-commits, 2019/11/20
- 154/329: gnu: ghc-comonad: Update to 5.0.5., guix-commits, 2019/11/20
- 159/329: gnu: ghc-rio: Update to 0.1.12.0., guix-commits, 2019/11/20
- 165/329: gnu: ghc-haskell-src-exts-util: Update to 0.2.5., guix-commits, 2019/11/20
- 166/329: gnu: ghc-haskell-src-meta: Update to 0.8.3., guix-commits, 2019/11/20
- 161/329: gnu: ghc-bifunctors: Update to 5.5.5., guix-commits, 2019/11/20