[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics. |
Date: |
Mon, 10 May 2021 05:16:23 +0000 |
From: divoplade <d@divoplade.fr>
* gnu/packages/ocaml.scm (ocaml-graphics): New variable.
Co-Authored-By: pukkamustard <pukkamustard@posteo.net>
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c390a8bce9..4727b294d9 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6900,3 +6900,29 @@ Both interfaces give the user total control over the
blocking behavior of
their application, with the unbuffered interface enabling zero-copy IO.
Parsers are backtracking by default and support unbounded lookahead.")
(license license:bsd-3)))
+
+(define-public ocaml-graphics
+ (package
+ (name "ocaml-graphics")
+ (version "5.1.1")
+ (home-page "https://github.com/ocaml/graphics")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14w07ydji2nbdk366nfp2pzs9484xp9vqv63n345id13v48z8bfi"))))
+ (build-system dune-build-system)
+ (propagated-inputs
+ `(("libx11" ,libx11)))
+ (synopsis "The OCaml graphics library")
+ (description
+ "The graphics library provides a set of portable drawing primitives.
+Drawing takes place in a separate window that is created when
+Graphics.open_graph is called. This library used to be distributed with OCaml
+up to OCaml 4.08.")
+ (license license:lgpl2.1+)))
--
2.31.1
- [bug#47768] [PATCH v2 11/43] gnu: ocaml-migrate-parsetree: Update to 2.1.0., (continued)
- [bug#47768] [PATCH v2 11/43] gnu: ocaml-migrate-parsetree: Update to 2.1.0., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 21/43] gnu: Add ocaml-ppx-cold., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 30/43] gnu: Add ocaml-ppx-optcomp, pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 22/43] gnu: Add ocaml-ppx-assert., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 32/43] gnu: Add ocaml-jst-config., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 34/43] gnu: Add ocaml-time-now., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 25/43] gnu: Add ocaml-ppx-enumerate., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 35/43] gnu: Add ocaml-ppx-inline-test., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 27/43] gnu: Add ocaml-ppx-base., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics.,
pukkamustard <=
- [bug#47768] [PATCH v2 28/43] gnu: Add ocaml-fieldslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 29/43] gnu: Add ocaml-ppx-fields-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 41/43] gnu: Add ocaml-ppx-expect., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 18/43] gnu: Add ocaml-syntax-shims., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 31/43] gnu: Add ocaml-ppx-optional., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 24/43] gnu: Add ocaml-ppx-hash., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 16/43] gnu: Add ocaml-bigstringaf., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 26/43] gnu: Add ocaml-ppx-js-style., pukkamustard, 2021/05/10