diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2024-04-17 05:55:27 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2024-04-17 05:57:33 +0200 |
commit | de1dec5002614f330fbea6aa32188bfb779bf7b4 (patch) | |
tree | 3496ac9094b950be50b33f1990f3fef750f6a312 /pkgs/development/ocaml-modules | |
parent | edd8117bfa116596c6b924ac7c8a10280d6c0981 (diff) |
ocamlPackages.clap: init at 0.3.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/clap/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/clap/default.nix b/pkgs/development/ocaml-modules/clap/default.nix new file mode 100644 index 0000000000000..83d420c80f335 --- /dev/null +++ b/pkgs/development/ocaml-modules/clap/default.nix @@ -0,0 +1,24 @@ +{ lib +, fetchFromGitHub +, buildDunePackage +}: + +buildDunePackage rec { + pname = "clap"; + version = "0.3.0"; + + minimalOCamlVersion = "4.07"; + + src = fetchFromGitHub { + owner = "rbardou"; + repo = pname; + rev = version; + hash = "sha256-IEol27AVYs55ntvNprBxOk3/EsBKAdPkF3Td3w9qOJg="; + }; + + meta = { + description = "Command-Line Argument Parsing, imperative style with a consumption mechanism"; + license = lib.licenses.mit; + }; +} + |