diff options
author | pukkamustard <pukkamustard@posteo.net> | 2020-12-28 22:10:12 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2020-12-30 14:26:11 +0100 |
commit | c0bfff6acac651a47c04cda3206b8eb345ee5b3c (patch) | |
tree | 8557f3d9e9f5de8d9241b51abd550d394c7fd1f3 /gnu | |
parent | 9e02c4acb3e73e9d426d9ec09ffbcb7f047b46db (diff) | |
download | guix-c0bfff6acac651a47c04cda3206b8eb345ee5b3c.tar.gz guix-c0bfff6acac651a47c04cda3206b8eb345ee5b3c.zip |
gnu: Add ocaml-version.
* gnu/packages/ocaml.scm (ocaml-version): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ocaml.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 19f91e5091..2021447a66 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5845,6 +5845,32 @@ include the X Window System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file output.") (license license:lgpl3+))) +(define-public ocaml-version + (package + (name "ocaml-version") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocurrent/ocaml-version") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13770mp6adjjbx63zsbh6506dqxz241chw8c3y403sxpw45hnaw6")))) + (build-system dune-build-system) + (arguments `(#:tests? #f)) ; no tests + (home-page + "https://github.com/ocurrent/ocaml-version") + (synopsis + "Manipulate, parse and generate OCaml compiler version strings") + (description + "This library provides facilities to parse version numbers of the OCaml +compiler, and enumerates the various official OCaml releases and configuration +variants.") + (license license:isc))) + (define-public lablgtk3 (package (name "lablgtk") |