unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Kreye <kreyepr@gmail.com>
To: 29034@debbugs.gnu.org
Subject: [bug#29034] [PATCH 1/5] gnu: Add ocaml-jbuilder.
Date: Thu, 26 Oct 2017 17:02:49 -0500	[thread overview]
Message-ID: <87o9osdv8r.fsf@gmail.com> (raw)
In-Reply-To: <87po98dw5y.fsf@gmail.com>

* gnu/packages/ocaml.scm (ocaml-jbuilder): New variable.
---
 gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b13168c7d..2df9cc1a2 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3557,6 +3557,40 @@ library is currently designed for Unicode Standard 3.2.")
     ;; with an exception for linked libraries to use a different license
     (license license:lgpl2.0+)))
 
+(define-public ocaml-jbuilder
+  (package
+    (name "ocaml-jbuilder")
+    (version "1.0+beta14")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/janestreet/jbuilder/archive/"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "06jdcb4jmmp4wqyf9cm59jzgj0mxkpdzd9q3728gdxc1sz3v1sz0"))))
+    (build-system ocaml-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (setenv "PREFIX" out))
+             #t)))))
+    (native-inputs
+     `(("menhir" ,ocaml-menhir)))
+    (propagated-inputs
+     `(("opam" ,opam)))
+    (home-page "https://github.com/janestreet/jbuilder")
+    (synopsis "Composable build system for OCaml")
+    (description "Jbuilder is a build system designed for OCaml/Reason projects
+only.  It focuses on providing the user with a consistent experience and takes
+care of most of the low-level details of OCaml compilation.  All you have to do
+is provide a description of your project and Jbuilder will do the rest.")
+    (license license:asl2.0)))
+
 (define-public coq-flocq
   (package
     (name "coq-flocq")
-- 
2.14.2

  reply	other threads:[~2017-10-27 23:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27 23:10 [bug#29034] [PATCH 0/5] Add ocaml-utop and dependencies Peter Kreye
2017-10-26 22:02 ` Peter Kreye [this message]
2017-10-28  8:08   ` [bug#29034] [PATCH 1/5] gnu: Add ocaml-jbuilder Ludovic Courtès
2017-10-27 23:31 ` [bug#29034] [PATCH 2/5] gnu: Add ocaml-zed Peter Kreye
2017-10-28  8:11   ` Ludovic Courtès
2017-10-27 23:32 ` [bug#29034] [PATCH 3/5] gnu: Add ocaml-lambda-term Peter Kreye
2017-10-28  8:18   ` Ludovic Courtès
2017-10-27 23:33 ` [bug#29034] [PATCH 4/5] gnu: Add ocaml-findlib-1.7.3 Peter Kreye
2017-10-28  8:36   ` Ludovic Courtès
2017-10-27 23:34 ` [bug#29034] [PATCH 5/5] gnu: Add ocaml-utop Peter Kreye
2017-10-28  8:37   ` bug#29034: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9osdv8r.fsf@gmail.com \
    --to=kreyepr@gmail.com \
    --cc=29034@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).