gnu: camlzip: Update to 1.11.
* gnu/packages/ocaml.scm (camlzip): Update to 1.11.
This commit is contained in:
parent
b1baba38c0
commit
24fba107d1
|
@ -1385,33 +1385,25 @@ (define-public ocaml-ounit
|
||||||
(define-public camlzip
|
(define-public camlzip
|
||||||
(package
|
(package
|
||||||
(name "camlzip")
|
(name "camlzip")
|
||||||
(version "1.0.6")
|
(version "1.11")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (ocaml-forge-uri name version 1616))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/xavierleroy/camlzip")
|
||||||
|
(commit (string-append
|
||||||
|
"rel"
|
||||||
|
(string-join (string-split version #\.) "")))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0m6gyjw46w3qnhxfsyqyag42znl5lwargks7w7rfchr9jzwpff68"))))
|
"16jnn3czxnvyjngnz167x5kw097k7izdqvkix8qvgvhdmgvqm89b"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system ocaml-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(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")))))))
|
|
||||||
#:install-target "install-findlib"
|
#:install-target "install-findlib"
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "all" "allopt"
|
(list "all" "allopt"
|
||||||
|
|
Loading…
Reference in a new issue