[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/96] gnu: Add camlzip
From: |
Julien Lepiller |
Subject: |
[PATCH 09/96] gnu: Add camlzip |
Date: |
Tue, 3 Jan 2017 20:10:50 +0100 |
* gnu/packages/ocaml.scm (camlzip): New variable.
---
gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e32bd9de1..1de96c760 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -774,3 +774,30 @@ compilers that can directly deal with packages.")
(description "Unit testing framework for OCaml. It is similar to JUnit and
other XUnit testing frameworks.")
(license license:lgpl2.1)))
+
+(define-public camlzip
+ (package
+ (name "camlzip")
+ (version "1.0.6")
+ (home-page "http://forge.ocamlcore.org/projects/camlzip")
+ (source (ocaml-forge-origin name version 1616
+ "0m6gyjw46w3qnhxfsyqyag42znl5lwargks7w7rfchr9jzwpff68"))
+ (build-system ocaml-build-system)
+ (inputs `(("zlib" ,zlib)))
+ (arguments `(#:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'install 'fix-install-name
+ (lambda* (#:key #:allow-other-keys)
+ (substitute* "Makefile"
+ (("install zip") "install camlzip")))))
+ #:install-target "install-findlib"
+ #:make-flags
+ (list "all" "allopt"
+ (string-append "INSTALLDIR=" (assoc-ref %outputs "out")
+ "/lib/ocaml"))))
+ (synopsis "Provides easy access to compressed files")
+ (description "Provides easy access to compressed files in ZIP, GZIP and
+JAR format. It provides functions for reading from and writing to compressed
+files in these formats.")
+ (license license:lgpl2.1)))
--
2.11.0
- [PATCH 10/96] gnu: Add ocamlmod., (continued)
- [PATCH 10/96] gnu: Add ocamlmod., Julien Lepiller, 2017/01/03
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., julien lepiller, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., Julien Lepiller, 2017/01/15
- Re: [PATCH 10/96] gnu: Add ocamlmod., David Craven, 2017/01/15
- Re: [PATCH 10/96] gnu: Add ocamlmod., Ludovic Courtès, 2017/01/04
- Re: [PATCH 10/96] gnu: Add ocamlmod., Leo Famulari, 2017/01/04
[PATCH 09/96] gnu: Add camlzip,
Julien Lepiller <=
[PATCH 11/96] gnu: Add ocaml-zarith., Julien Lepiller, 2017/01/03
[PATCH 12/96] gnu: Add ocaml-frontc, Julien Lepiller, 2017/01/03
[PATCH 13/96] gnu: Add ocaml-qtest, Julien Lepiller, 2017/01/03
[PATCH 14/96] gnu: Add ocaml-stringext, Julien Lepiller, 2017/01/03
[PATCH 15/96] gnu: Add ocaml-bisect, Julien Lepiller, 2017/01/03
[PATCH 17/96] gnu: Add ocaml-result, Julien Lepiller, 2017/01/03
[PATCH 16/96] gnu: Add ocaml-bitstring, Julien Lepiller, 2017/01/03