diff options
author | Malo Bourgon <mbourgon@gmail.com> | 2022-05-09 10:30:27 -0700 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-05-11 09:02:37 +0200 |
commit | b1de4bf60f955ed59adb2d8878eb0b5d55fb1b4e (patch) | |
tree | 0c0fdff97b491066a863d471c5914f68225e6133 /pkgs/development/ocaml-modules | |
parent | f770655390a7e450b5de299ec5d458da58b43b2b (diff) |
ocamlPackages: add meta.mainProgram to many packages
Diffstat (limited to 'pkgs/development/ocaml-modules')
11 files changed, 21 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/biniou/default.nix b/pkgs/development/ocaml-modules/biniou/default.nix index 75725f135518c..ff3b87699356d 100644 --- a/pkgs/development/ocaml-modules/biniou/default.nix +++ b/pkgs/development/ocaml-modules/biniou/default.nix @@ -22,9 +22,10 @@ buildDunePackage rec { ''; meta = { - inherit (src.meta) homepage; description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve"; - maintainers = [ lib.maintainers.vbgl ]; + inherit (src.meta) homepage; license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.vbgl ]; + mainProgram = "bdump"; }; } diff --git a/pkgs/development/ocaml-modules/jsonm/default.nix b/pkgs/development/ocaml-modules/jsonm/default.nix index 2b9c9918382b4..d29b19b3b400f 100644 --- a/pkgs/development/ocaml-modules/jsonm/default.nix +++ b/pkgs/development/ocaml-modules/jsonm/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { homepage = "https://erratique.ch/software/jsonm"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ vbgl ]; + mainProgram = "jsontrip"; platforms = ocaml.meta.platforms or []; }; } diff --git a/pkgs/development/ocaml-modules/omd/default.nix b/pkgs/development/ocaml-modules/omd/default.nix index b9797e257abc1..cfb743cc982e3 100644 --- a/pkgs/development/ocaml-modules/omd/default.nix +++ b/pkgs/development/ocaml-modules/omd/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/ocaml/omd"; license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; + mainProgram = "omd"; inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix index 8c0276bc9a7a6..39869765349bf 100644 --- a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix +++ b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix @@ -28,9 +28,10 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - homepage = "https://piqi.org"; description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings"; + homepage = "https://piqi.org"; license = licenses.asl20; maintainers = [ maintainers.maurer ]; + mainProgram = "piqic-ocaml"; }; } diff --git a/pkgs/development/ocaml-modules/ppx_bap/default.nix b/pkgs/development/ocaml-modules/ppx_bap/default.nix index f0a223c3db758..b1229643ae6af 100644 --- a/pkgs/development/ocaml-modules/ppx_bap/default.nix +++ b/pkgs/development/ocaml-modules/ppx_bap/default.nix @@ -44,8 +44,9 @@ buildDunePackage rec { meta = { description = "The set of ppx rewriters for BAP"; - license = lib.licenses.mit; inherit (src.meta) homepage; + license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; + mainProgram = "ppx-bap"; }; } diff --git a/pkgs/development/ocaml-modules/uuidm/default.nix b/pkgs/development/ocaml-modules/uuidm/default.nix index 336d66cb0a640..7df1c588dd354 100644 --- a/pkgs/development/ocaml-modules/uuidm/default.nix +++ b/pkgs/development/ocaml-modules/uuidm/default.nix @@ -18,7 +18,8 @@ stdenv.mkDerivation rec { description = "An OCaml module implementing 128 bits universally unique identifiers version 3, 5 (name based with MD5, SHA-1 hashing) and 4 (random based) according to RFC 4122"; homepage = "https://erratique.ch/software/uuidm"; license = licenses.bsd3; - platforms = ocaml.meta.platforms or []; maintainers = [ maintainers.maurer ]; + mainProgram = "uuidtrip"; + platforms = ocaml.meta.platforms or []; }; } diff --git a/pkgs/development/ocaml-modules/uunf/default.nix b/pkgs/development/ocaml-modules/uunf/default.nix index b61a60c2a3754..d69c22db80294 100644 --- a/pkgs/development/ocaml-modules/uunf/default.nix +++ b/pkgs/development/ocaml-modules/uunf/default.nix @@ -32,8 +32,9 @@ stdenv.mkDerivation { meta = with lib; { description = "An OCaml module for normalizing Unicode text"; homepage = webpage; - inherit (ocaml.meta) platforms; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "unftrip"; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/uuseg/default.nix b/pkgs/development/ocaml-modules/uuseg/default.nix index 42642d2dc24ec..9d19de1c3ce85 100644 --- a/pkgs/development/ocaml-modules/uuseg/default.nix +++ b/pkgs/development/ocaml-modules/uuseg/default.nix @@ -26,8 +26,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An OCaml library for segmenting Unicode text"; homepage = webpage; - inherit (ocaml.meta) platforms; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "usegtrip"; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/uutf/default.nix b/pkgs/development/ocaml-modules/uutf/default.nix index c76eac45b35dc..62ac1fc7c1c00 100644 --- a/pkgs/development/ocaml-modules/uutf/default.nix +++ b/pkgs/development/ocaml-modules/uutf/default.nix @@ -26,8 +26,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Non-blocking streaming Unicode codec for OCaml"; homepage = "https://erratique.ch/software/uutf"; - inherit (ocaml.meta) platforms; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "utftrip"; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/xmlm/default.nix b/pkgs/development/ocaml-modules/xmlm/default.nix index d989b281cadd1..34878cb30bbbe 100644 --- a/pkgs/development/ocaml-modules/xmlm/default.nix +++ b/pkgs/development/ocaml-modules/xmlm/default.nix @@ -27,8 +27,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An OCaml streaming codec to decode and encode the XML data format"; homepage = webpage; - platforms = ocaml.meta.platforms or []; - maintainers = [ maintainers.vbgl ]; license = licenses.bsd3; + maintainers = [ maintainers.vbgl ]; + mainProgram = "xmltrip"; + platforms = ocaml.meta.platforms or []; }; } diff --git a/pkgs/development/ocaml-modules/yojson/default.nix b/pkgs/development/ocaml-modules/yojson/default.nix index 2be9ce1b0210b..03b01c4377668 100644 --- a/pkgs/development/ocaml-modules/yojson/default.nix +++ b/pkgs/development/ocaml-modules/yojson/default.nix @@ -18,5 +18,6 @@ buildDunePackage rec { homepage = "https://github.com/ocaml-community/${pname}"; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "ydump"; }; } |