summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-04-14 13:54:18 +0200
committerJulien Lepiller <julien@lepiller.eu>2019-04-25 18:59:55 +0200
commitce9a30e6f4a34df45a4a165fea315f61745bb1d3 (patch)
treea8ab28206e428e73113f89f7e00f5e72c6cfd8d1 /gnu
parent57e2b24dc03e44e4e379436e63d29231f1f9d28c (diff)
downloadguix-ce9a30e6f4a34df45a4a165fea315f61745bb1d3.tar.gz
gnu: Add ocaml-bigarray-compat.
* gnu/packages/ocaml.scm (ocaml-bigarray-compat): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ocaml.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index ee8b82d8f4..92bfc75c78 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -867,6 +867,28 @@ Knuth’s LR(1) parser construction technique.")
     (inputs `(("ocaml" ,ocaml-4.02)))
     (native-inputs '())))
 
+(define-public ocaml-bigarray-compat
+  (package
+    (name "ocaml-bigarray-compat")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/mirage/bigarray-compat")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "06j1dwlpisxshdd0nab4n4x266gg1s1n8na16lpgw3fvcznwnimz"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:tests? #f)); no tests
+    (home-page "https://github.com/mirage/bigarray-compat")
+    (synopsis "OCaml compatibility library")
+    (description "This package contains a compatibility library for
+@code{Stdlib.Bigarray} in OCaml.")
+    (license license:isc)))
+
 (define-public lablgtk
   (package
     (name "lablgtk")