[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33079] [PATCH 27/34] gnu: Add dune.
From: |
Julien Lepiller |
Subject: |
[bug#33079] [PATCH 27/34] gnu: Add dune. |
Date: |
Wed, 17 Oct 2018 22:34:35 +0200 |
* gnu/packages/ocaml.scm (dune): New variable.
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 196e0d219..768921912 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1469,6 +1469,34 @@ coverage information.")
(propagated-inputs
`(("camlp4" ,camlp4-4.02))))))
+(define-public dune
+ (package
+ (name "dune")
+ (version "1.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/ocaml/dune/releases/"
+ "download/" version "/dune-" version ".tbz"))
+ (sha256
+ (base32
+ "00c5dbm4hkdapc2i7pg07b2lj8sv6ly38qr7zid58cdmbmzq21z9"))))
+ (build-system ocaml-build-system)
+ (arguments
+ `(#:tests? #f; require odoc
+ #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "./configure")
+ #t)))))
+ (home-page "https://github.com/ocaml/dune")
+ (synopsis "OCaml build system")
+ (description "Dune is a build system that was designed to simplify the
+release of Jane Street packages. It reads metadata from @file{dune} files
+following a very simple s-expression syntax.")
+ (license license:expat)))
+
(define-public ocaml-bitstring
(package
(name "ocaml-bitstring")
--
2.18.0
- [bug#33079] [PATCH 28/34] gnu: Add ocaml-migrate-parsetree., (continued)
- [bug#33079] [PATCH 28/34] gnu: Add ocaml-migrate-parsetree., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 30/34] gnu: Update ocaml-bitstring to 3.1.0., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 31/34] gnu: Add ocaml4.02-result., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 33/34] gnu: Fix ocaml-rresult., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 29/34] gnu: Add ocaml-ppx-tools-versioned., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 32/34] gnu: Fix ocaml-topkg., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 21/34] gnu: Fix ocaml-frontc., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 16/34] gnu: unison: Build with ocaml-4.02., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 18/34] gnu: Add ocaml4.02-camlzip., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 24/34] gnu: Fix ocaml-stringext., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 27/34] gnu: Add dune.,
Julien Lepiller <=
- [bug#33079] [PATCH 34/34] gnu: Update ocaml packages., Julien Lepiller, 2018/10/17
- [bug#33079] [PATCH 01/34] gnu: ocaml: Update to 4.07.0., Ludovic Courtès, 2018/10/23