diff options
author | raingloom <raingloom@riseup.net> | 2023-02-15 23:00:27 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-02-17 15:44:58 +0000 |
commit | 34589fe587f70a8e37dacc3d077d17a9a5f0bfb9 (patch) | |
tree | b2e16a61f95c84d02c7d7c18dfdf9a6cb7e99243 /gnu | |
parent | 9658d29ab875e4c0ab60ba8399b5d237e5a2ff9f (diff) | |
download | guix-34589fe587f70a8e37dacc3d077d17a9a5f0bfb9.tar.gz |
gnu: Add ocaml-parse-argv.
* gnu/packages/ocaml.scm (ocaml-parse-argv): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ocaml.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 2219ec72c0..79e71ebba1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3854,6 +3854,27 @@ RFC5321 and RFC6532. It handles UTF-8 email addresses and encoded-word according RFC2047.") (license license:expat))) +(define-public ocaml-parse-argv + (package + (name "ocaml-parse-argv") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/parse-argv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16n18zik6vkfnhv8jaigr90fwp1ykg23p61aqchym0jil4i4yq01")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-astring)) + (native-inputs (list ocaml-ounit)) + (home-page "https://github.com/mirage/parse-argv") + (synopsis "Process strings into sets of command-line arguments") + (description "Small implementation of a simple argv parser.") + (license license:isc))) + (define-public ocaml-functoria-runtime (package (name "ocaml-functoria-runtime") |