[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: camlzip: Update to 1.10.
From: |
guix-commits |
Subject: |
03/03: gnu: camlzip: Update to 1.10. |
Date: |
Mon, 13 Jan 2020 16:42:18 -0500 (EST) |
brettgilio pushed a commit to branch wip-ocaml4.09
in repository guix.
commit acb45112531b166d6591d614396f7ab05bbcf4cc
Author: Brett Gilio <address@hidden>
AuthorDate: Mon Jan 13 15:41:18 2020 -0600
gnu: camlzip: Update to 1.10.
* gnu/packages/ocaml.scm (camlzip): Update to 1.10.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[arguments]: Remove install-camlzip phase, as it is handled appropriately
upstream.
---
gnu/packages/ocaml.scm | 33 ++++++++++++---------------------
1 file changed, 12 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6d019cd..29db412 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -966,33 +966,24 @@ other XUnit testing frameworks.")
(define-public camlzip
(package
(name "camlzip")
- (version "1.0.6")
- (source (origin
- (method url-fetch)
- (uri (ocaml-forge-uri name version 1616))
- (sha256
- (base32
- "0m6gyjw46w3qnhxfsyqyag42znl5lwargks7w7rfchr9jzwpff68"))))
+ (version "1.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xavierleroy/camlzip.git")
+ (commit (string-append "rel" (string-delete #\. version)))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pm1vs947cbb4b4827pcz5kbj41miyxw599craznwm1ix27bmpj6"))))
(build-system ocaml-build-system)
(inputs
`(("zlib" ,zlib)))
(arguments
`(#:phases
(modify-phases %standard-phases
- (delete 'configure)
- (add-after 'install 'install-camlzip
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (dir (string-append out "/lib/ocaml/site-lib/camlzip")))
- (mkdir-p dir)
- (call-with-output-file (string-append dir "/META")
- (lambda (port)
- (format port "version=\"1.06\"\n")
- (format port "requires=\"unix\"\n")
- (format port "archive(byte)=\"zip.cma\"\n")
- (format port "archive(native)=\"zip.cmxa\"\n")
- (format port "archive(native,plugin)=\"zip.cmxs\"\n")
- (format port "directory=\"../zip\"\n")))))))
+ (delete 'configure))
#:install-target "install-findlib"
#:make-flags
(list "all" "allopt"