[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/10] gnu: Add ocaml-oasis.
From: |
Julien Lepiller |
Subject: |
[PATCH 08/10] gnu: Add ocaml-oasis. |
Date: |
Fri, 27 Jan 2017 23:12:26 +0100 |
* gnu/packages/ocaml.scm (ocaml-oasis): New variable.
---
gnu/packages/ocaml.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3817e77ae..ba0f5cd4c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1900,3 +1900,45 @@ can match the question using a regular expression or a
timeout.")
(description "Library to provide pure OCaml functions to manipulate real
file (POSIX like) and filename.")
(license license:lgpl2.1)))
+
+(define-public ocaml-oasis
+ (package
+ (name "ocaml-oasis")
+ (version "0.4.8")
+ (source (origin
+ (method url-fetch)
+ (uri (ocaml-forge-uri name version 1669))
+ (sha256
+ (base32
+ "1ln7vc7ip6s5xbi20mhnn087xi4a2m5vqawx0703qqnfkzhmslqy"))
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "test/test-main/Test.ml"
+ ;; most of these tests fail because ld cannot find crti.o, but
according
+ ;; to the log file, the environment variables
{LD_,}LIBRARY_PATH
+ ;; are set correctly whene LD_LIBRARY_PATH is defined
beforhand.
+ (("TestBaseCompat.tests;") "")
+ (("TestExamples.tests;") "")
+ (("TestFull.tests;") "")
+ (("TestPluginDevFiles.tests;") "")
+ (("TestPluginInternal.tests;") "")
+ (("TestPluginOCamlbuild.tests;") "")
+ (("TestPluginOMake.tests;") "")))))
+ (build-system ocaml-build-system)
+ (native-inputs
+ `(("ocamlify" ,ocamlify)
+ ("ocamlmod" ,ocamlmod)
+ ("ounit" ,ocaml-ounit)
+ ("omake" ,omake)
+ ("ocaml-expect" ,ocaml-expect)
+ ("ocaml-pcre" ,ocaml-pcre)
+ ("ocaml-fileutils" ,ocaml-fileutils)
+ ("camlp4" ,camlp4)
+ ("texlive" ,texlive)
+ ("pkg-config" ,pkg-config)))
+ (home-page "https://oasis.forge.ocamlcore.org")
+ (synopsis "Integrates a configure, build, install system in OCaml
projects")
+ (description "OASIS is a tool to integrate a configure, build and install
+system in your OCaml projects. It helps to create standard entry points in
your
+build system and allows external tools to analyse your project easily.")
+ (license license:lgpl2.1))) ; with ocaml static compilation exception
--
2.11.0
- [PATCH 00/10] ocaml patches v2, Julien Lepiller, 2017/01/27
- [PATCH 01/10] gnu: Add ocaml-base64., Julien Lepiller, 2017/01/27
- [PATCH 02/10] gnu: Add ocamlify., Julien Lepiller, 2017/01/27
- [PATCH 04/10] gnu: Add ocaml-batteries., Julien Lepiller, 2017/01/27
- [PATCH 03/10] gnu: Add omake., Julien Lepiller, 2017/01/27
- [PATCH 05/10] gnu: Add ocaml-pcre., Julien Lepiller, 2017/01/27
- [PATCH 06/10] gnu: Add ocaml-expect., Julien Lepiller, 2017/01/27
- [PATCH 07/10] gnu: Add ocaml-fileutils., Julien Lepiller, 2017/01/27
- [PATCH 08/10] gnu: Add ocaml-oasis.,
Julien Lepiller <=
- [PATCH 10/10] gnu: Add ocaml-bin-prot., Julien Lepiller, 2017/01/27
- [PATCH 09/10] gnu: Add ocaml-js-build-tools., Julien Lepiller, 2017/01/27
Re: [PATCH 00/10] ocaml patches v2, Ludovic Courtès, 2017/01/30