[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: Add camlzip.
From: |
David Craven |
Subject: |
09/11: gnu: Add camlzip. |
Date: |
Wed, 4 Jan 2017 15:05:59 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit bc2c3bc627874eb201c15ea7356af27eecb2ae1c
Author: Julien Lepiller <address@hidden>
Date: Fri Dec 30 10:48:21 2016 +0100
gnu: Add camlzip.
* gnu/packages/ocaml.scm (camlzip): New variable.
Signed-off-by: David Craven <address@hidden>
---
gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f976544..01587bb 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -780,3 +780,36 @@ 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:expat)))
+
+(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"))))
+ (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"))))
+ (home-page "http://forge.ocamlcore.org/projects/camlzip")
+ (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+)))
- branch master updated (1ff755d -> ddf2b50), David Craven, 2017/01/04
- 04/11: gnu: camlp4: Compile native version., David Craven, 2017/01/04
- 03/11: gnu: ocaml: Fix indentation., David Craven, 2017/01/04
- 06/11: gnu: ocaml: Use a helper function to download from ocaml-forge., David Craven, 2017/01/04
- 09/11: gnu: Add camlzip.,
David Craven <=
- 02/11: gnu: ocaml: Add CAML_LD_LIBRARY_PATH search-path., David Craven, 2017/01/04
- 10/11: gnu: Add ocamlmod., David Craven, 2017/01/04
- 08/11: gnu: Add ocaml-ounit., David Craven, 2017/01/04
- 11/11: gnu: Add ocaml-zarith., David Craven, 2017/01/04
- 07/11: gnu: camlp4: Install camlp4 META file., David Craven, 2017/01/04
- 05/11: gnu: Add ocaml-build-system., David Craven, 2017/01/04
- 01/11: gnu: ocaml: Add a .file directive to generated .s files., David Craven, 2017/01/04