[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
137/290: gnu: ghc-zip-archive: Update to 0.4.1.
From: |
guix-commits |
Subject: |
137/290: gnu: ghc-zip-archive: Update to 0.4.1. |
Date: |
Wed, 6 Nov 2019 08:22:48 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit ddf08629ade63fa59306b99c6559f82167689e08
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 ed2414c..59d1bd7 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11866,7 +11866,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)
@@ -11876,15 +11876,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,
- 124/290: gnu: ghc-doctest: Update to 0.16.2., (continued)
- 124/290: gnu: ghc-doctest: Update to 0.16.2., guix-commits, 2019/11/06
- 122/290: gnu: ghc-asn1-parse: Update to 0.9.5., guix-commits, 2019/11/06
- 99/290: gnu: ghc-memory: Update to 0.14.18., guix-commits, 2019/11/06
- 100/290: gnu: ghc-blaze-markup: Update to 0.8.2.3., guix-commits, 2019/11/06
- 107/290: gnu: ghc-hspec-core: Update to 2.7.1., guix-commits, 2019/11/06
- 108/290: gnu: ghc-asn1-types: Update to 0.3.3., guix-commits, 2019/11/06
- 126/290: gnu: ghc-tasty-ant-xml: Update to 1.1.6., guix-commits, 2019/11/06
- 119/290: gnu: ghc-storable-complex: Update to 0.2.3.0., guix-commits, 2019/11/06
- 127/290: gnu: ghc-openglraw: Update to 3.3.3.0., guix-commits, 2019/11/06
- 133/290: gnu: ghc-genvalidity-property: Update to 0.4.0.0., guix-commits, 2019/11/06
- 137/290: gnu: ghc-zip-archive: Update to 0.4.1.,
guix-commits <=
- 141/290: gnu: ghc-weigh: Update to 0.0.14., guix-commits, 2019/11/06
- 143/290: gnu: ghc-typed-process: Update to 0.2.6.0., guix-commits, 2019/11/06
- 135/290: gnu: ghc-gnuplot: Update to 0.5.6., guix-commits, 2019/11/06
- 145/290: gnu: ghc-chell: Update to 0.5., guix-commits, 2019/11/06
- 146/290: gnu: ghc-chell-quickcheck: Update to 0.2.5.2., guix-commits, 2019/11/06
- 147/290: gnu: ghc-system-fileio: Update to 0.3.16.4., guix-commits, 2019/11/06
- 149/290: gnu: ghc-quickcheck-instances: Update to 0.3.22., guix-commits, 2019/11/06
- 120/290: gnu: ghc-fast-logger: Update to 2.4.17., guix-commits, 2019/11/06
- 125/290: gnu: ghc-genvalidity: Update to 0.8.0.0., guix-commits, 2019/11/06
- 131/290: gnu: Add ghc-splitmix., guix-commits, 2019/11/06