ocamlPackages: add meta.mainProgram to many packages

main
Malo Bourgon 2 years ago committed by Vincent Laporte
parent 9ae882c6a9
commit f7ef6329bb
  1. 3
      pkgs/development/ocaml-modules/atd/default.nix
  2. 3
      pkgs/development/ocaml-modules/awa/default.nix
  3. 3
      pkgs/development/ocaml-modules/bisect_ppx/default.nix
  4. 5
      pkgs/development/ocaml-modules/ca-certs-nss/default.nix
  5. 3
      pkgs/development/ocaml-modules/checkseum/default.nix
  6. 3
      pkgs/development/ocaml-modules/coin/default.nix
  7. 5
      pkgs/development/ocaml-modules/cpdf/default.nix
  8. 3
      pkgs/development/ocaml-modules/decompress/default.nix
  9. 1
      pkgs/development/ocaml-modules/dns/client.nix
  10. 3
      pkgs/development/ocaml-modules/hidapi/default.nix
  11. 1
      pkgs/development/ocaml-modules/irmin/pack.nix
  12. 1
      pkgs/development/ocaml-modules/irmin/unix.nix
  13. 10
      pkgs/development/ocaml-modules/janestreet/0.14.nix
  14. 3
      pkgs/development/ocaml-modules/lablgl/default.nix
  15. 8
      pkgs/development/ocaml-modules/lambda-term/default.nix
  16. 1
      pkgs/development/ocaml-modules/letsencrypt/app.nix
  17. 3
      pkgs/development/ocaml-modules/lustre-v6/default.nix
  18. 1
      pkgs/development/ocaml-modules/lutils/default.nix
  19. 5
      pkgs/development/ocaml-modules/mrmime/default.nix
  20. 1
      pkgs/development/ocaml-modules/ocaml-lsp/default.nix
  21. 3
      pkgs/development/ocaml-modules/otfm/default.nix
  22. 5
      pkgs/development/ocaml-modules/phylogenetics/default.nix
  23. 3
      pkgs/development/ocaml-modules/tuntap/default.nix
  24. 5
      pkgs/development/ocaml-modules/uuuu/default.nix
  25. 3
      pkgs/development/ocaml-modules/vg/default.nix
  26. 3
      pkgs/development/ocaml-modules/wayland/default.nix
  27. 1
      pkgs/development/ocaml-modules/webbrowser/default.nix
  28. 5
      pkgs/development/ocaml-modules/wodan/unix.nix
  29. 3
      pkgs/development/tools/ocaml/ocaml-recovery-parser/default.nix
  30. 1
      pkgs/development/tools/ocaml/ocamlscript/default.nix

@ -17,9 +17,10 @@ buildDunePackage rec {
}; };
meta = with lib; { meta = with lib; {
homepage = "https://github.com/mjambon/atd";
description = "Syntax for cross-language type definitions"; description = "Syntax for cross-language type definitions";
homepage = "https://github.com/mjambon/atd";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ aij jwilberding ]; maintainers = with maintainers; [ aij jwilberding ];
mainProgram = "atdcat";
}; };
} }

@ -32,9 +32,10 @@ buildDunePackage rec {
meta = with lib; { meta = with lib; {
description = "SSH implementation in OCaml"; description = "SSH implementation in OCaml";
license = licenses.isc;
homepage = "https://github.com/mirage/awa-ssh"; homepage = "https://github.com/mirage/awa-ssh";
changelog = "https://github.com/mirage/awa-ssh/raw/v${version}/CHANGES.md"; changelog = "https://github.com/mirage/awa-ssh/raw/v${version}/CHANGES.md";
license = licenses.isc;
maintainers = [ maintainers.sternenseemann ]; maintainers = [ maintainers.sternenseemann ];
mainProgram = "awa_lwt_server";
}; };
} }

@ -21,8 +21,9 @@ buildDunePackage rec {
meta = with lib; { meta = with lib; {
description = "Bisect_ppx is a code coverage tool for OCaml and Reason. It helps you test thoroughly by showing what's not tested."; description = "Bisect_ppx is a code coverage tool for OCaml and Reason. It helps you test thoroughly by showing what's not tested.";
license = licenses.mit;
homepage = "https://github.com/aantron/bisect_ppx"; homepage = "https://github.com/aantron/bisect_ppx";
license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
mainProgram = "bisect-ppx-report";
}; };
} }

@ -43,9 +43,10 @@ buildDunePackage rec {
checkInputs = [ alcotest ]; checkInputs = [ alcotest ];
meta = with lib; { meta = with lib; {
license = licenses.isc;
description = "X.509 trust anchors extracted from Mozilla's NSS"; description = "X.509 trust anchors extracted from Mozilla's NSS";
maintainers = [ maintainers.sternenseemann ];
homepage = "https://github.com/mirage/ca-certs-nss"; homepage = "https://github.com/mirage/ca-certs-nss";
license = licenses.isc;
maintainers = [ maintainers.sternenseemann ];
mainProgram = "extract-from-certdata";
}; };
} }

@ -39,9 +39,10 @@ buildDunePackage rec {
doCheck = true; doCheck = true;
meta = { meta = {
homepage = "https://github.com/mirage/checkseum";
description = "ADLER-32 and CRC32C Cyclic Redundancy Check"; description = "ADLER-32 and CRC32C Cyclic Redundancy Check";
homepage = "https://github.com/mirage/checkseum";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
mainProgram = "checkseum.checkseum";
}; };
} }

@ -30,8 +30,9 @@ buildDunePackage rec {
meta = { meta = {
description = "A library to normalize an KOI8-{U,R} input to Unicode"; description = "A library to normalize an KOI8-{U,R} input to Unicode";
license = lib.licenses.mit;
homepage = "https://github.com/mirage/coin"; homepage = "https://github.com/mirage/coin";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ]; maintainers = with lib.maintainers; [ ];
mainProgram = "coin.generate";
}; };
} }

@ -31,10 +31,11 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://www.coherentpdf.com/";
inherit (ocaml.meta) platforms;
description = "PDF Command Line Tools"; description = "PDF Command Line Tools";
homepage = "https://www.coherentpdf.com/";
license = licenses.unfree; license = licenses.unfree;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
mainProgram = "cpdf";
inherit (ocaml.meta) platforms;
}; };
} }

@ -23,8 +23,9 @@ buildDunePackage rec {
meta = { meta = {
description = "Pure OCaml implementation of Zlib"; description = "Pure OCaml implementation of Zlib";
homepage = "https://github.com/mirage/decompress";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/mirage/decompress"; mainProgram = "decompress.pipe";
}; };
} }

@ -16,5 +16,6 @@ buildDunePackage {
meta = dns.meta // { meta = dns.meta // {
description = "Pure DNS resolver API"; description = "Pure DNS resolver API";
mainProgram = "dns-client.unix";
}; };
} }

@ -24,9 +24,10 @@ buildDunePackage rec {
doCheck = true; doCheck = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/vbmithr/ocaml-hidapi";
description = "Bindings to Signal11's hidapi library"; description = "Bindings to Signal11's hidapi library";
homepage = "https://github.com/vbmithr/ocaml-hidapi";
license = licenses.isc; license = licenses.isc;
maintainers = [ maintainers.alexfmpe ]; maintainers = [ maintainers.alexfmpe ];
mainProgram = "ocaml-hid-enumerate";
}; };
} }

@ -20,6 +20,7 @@ buildDunePackage rec {
meta = irmin.meta // { meta = irmin.meta // {
description = "Irmin backend which stores values in a pack file"; description = "Irmin backend which stores values in a pack file";
mainProgram = "irmin_fsck";
}; };
} }

@ -26,6 +26,7 @@ buildDunePackage rec {
meta = irmin.meta // { meta = irmin.meta // {
description = "Unix backends for Irmin"; description = "Unix backends for Irmin";
mainProgram = "irmin";
}; };
} }

@ -405,7 +405,10 @@ with self;
pname = "ppx_base"; pname = "ppx_base";
hash = "1wv3q0qyghm0c5izq03y97lv3czqk116059mg62wx6valn22a000"; hash = "1wv3q0qyghm0c5izq03y97lv3czqk116059mg62wx6valn22a000";
minimumOCamlVersion = "4.04.2"; minimumOCamlVersion = "4.04.2";
meta.description = "Base set of ppx rewriters"; meta = {
description = "Base set of ppx rewriters";
mainProgram = "ppx-base";
};
propagatedBuildInputs = [ ppx_cold ppx_enumerate ppx_hash ppx_js_style ]; propagatedBuildInputs = [ ppx_cold ppx_enumerate ppx_hash ppx_js_style ];
}; };
@ -519,7 +522,10 @@ with self;
pname = "ppx_jane"; pname = "ppx_jane";
hash = "1kk238fvrcylymwm7xwc7llbyspmx1y662ypq00vy70g112rir7j"; hash = "1kk238fvrcylymwm7xwc7llbyspmx1y662ypq00vy70g112rir7j";
minimumOCamlVersion = "4.04.2"; minimumOCamlVersion = "4.04.2";
meta.description = "Standard Jane Street ppx rewriters"; meta = {
description = "Standard Jane Street ppx rewriters";
mainProgram = "ppx-jane";
};
propagatedBuildInputs = [ base_quickcheck ppx_bin_prot ppx_expect ppx_fixed_literal ppx_module_timer ppx_optcomp ppx_optional ppx_pipebang ppx_stable ppx_string ppx_typerep_conv ppx_variants_conv ]; propagatedBuildInputs = [ base_quickcheck ppx_bin_prot ppx_expect ppx_fixed_literal ppx_module_timer ppx_optcomp ppx_optional ppx_pipebang ppx_stable ppx_string ppx_typerep_conv ppx_variants_conv ];
}; };

@ -39,10 +39,11 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html";
description = "OpenGL bindings for ocaml"; description = "OpenGL bindings for ocaml";
homepage = "http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ pSub vbgl ]; maintainers = with maintainers; [ pSub vbgl ];
mainProgram = "lablglut";
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
}; };
} }

@ -25,7 +25,8 @@ buildDunePackage rec {
propagatedBuildInputs = [ zed lwt_log lwt_react mew_vi ]; propagatedBuildInputs = [ zed lwt_log lwt_react mew_vi ];
meta = { description = "Terminal manipulation library for OCaml"; meta = {
description = "Terminal manipulation library for OCaml";
longDescription = '' longDescription = ''
Lambda-term is a cross-platform library for Lambda-term is a cross-platform library for
manipulating the terminal. It provides an abstraction for keys, manipulating the terminal. It provides an abstraction for keys,
@ -43,8 +44,7 @@ buildDunePackage rec {
inherit (src.meta) homepage; inherit (src.meta) homepage;
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = [ maintainers = [ lib.maintainers.gal_bolle ];
lib.maintainers.gal_bolle mainProgram = "lambda-term-actions";
];
}; };
} }

@ -43,5 +43,6 @@ buildDunePackage {
meta = letsencrypt.meta // { meta = letsencrypt.meta // {
description = "An ACME client implementation of the ACME protocol (RFC 8555) for OCaml"; description = "An ACME client implementation of the ACME protocol (RFC 8555) for OCaml";
mainProgram = "oacmel";
}; };
} }

@ -20,9 +20,10 @@ buildDunePackage rec {
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://www-verimag.imag.fr/lustre-v6.html";
description = "Lustre V6 compiler"; description = "Lustre V6 compiler";
homepage = "https://www-verimag.imag.fr/lustre-v6.html";
license = lib.licenses.cecill21; license = lib.licenses.cecill21;
maintainers = [ lib.maintainers.delta ]; maintainers = [ lib.maintainers.delta ];
mainProgram = "lv6";
}; };
} }

@ -21,5 +21,6 @@ buildDunePackage rec {
homepage = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutils/"; homepage = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutils/";
description = "Tools and libs shared by Verimag/synchronous tools (lustre, lutin, rdbg)"; description = "Tools and libs shared by Verimag/synchronous tools (lustre, lutin, rdbg)";
license = lib.licenses.cecill21; license = lib.licenses.cecill21;
mainProgram = "gnuplot-rif";
}; };
} }

@ -67,8 +67,9 @@ buildDunePackage rec {
meta = { meta = {
description = "Parser and generator of mail in OCaml"; description = "Parser and generator of mail in OCaml";
license = lib.licenses.mit;
homepage = "https://github.com/mirage/mrmime"; homepage = "https://github.com/mirage/mrmime";
maintainers = with lib.maintainers; [ ]; license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "mrmime.generate";
}; };
} }

@ -17,5 +17,6 @@ buildDunePackage rec {
meta = lsp.meta // { meta = lsp.meta // {
description = "OCaml Language Server Protocol implementation"; description = "OCaml Language Server Protocol implementation";
mainProgram = "ocamllsp";
}; };
} }

@ -34,8 +34,9 @@ stdenv.mkDerivation {
of them. of them.
''; '';
homepage = webpage; homepage = webpage;
inherit (ocaml.meta) platforms;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.jirkamarsik ]; maintainers = [ maintainers.jirkamarsik ];
mainProgram = "otftrip";
inherit (ocaml.meta) platforms;
}; };
} }

@ -46,9 +46,10 @@ buildDunePackage rec {
doCheck = true; doCheck = true;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/biocaml/phylogenetics";
description = "Algorithms and datastructures for phylogenetics"; description = "Algorithms and datastructures for phylogenetics";
maintainers = [ maintainers.bcdarwin ]; homepage = "https://github.com/biocaml/phylogenetics";
license = licenses.cecill-b; license = licenses.cecill-b;
maintainers = [ maintainers.bcdarwin ];
mainProgram = "phylosim";
}; };
} }

@ -23,7 +23,8 @@ buildDunePackage rec {
meta = { meta = {
description = "Bindings to the UNIX tuntap facility"; description = "Bindings to the UNIX tuntap facility";
license = lib.licenses.isc;
homepage = "https://github.com/mirage/ocaml-tuntap"; homepage = "https://github.com/mirage/ocaml-tuntap";
license = lib.licenses.isc;
mainProgram = "otunctl";
}; };
} }

@ -32,8 +32,9 @@ buildDunePackage rec {
meta = { meta = {
description = "A library to normalize an ISO-8859 input to Unicode code-point"; description = "A library to normalize an ISO-8859 input to Unicode code-point";
license = lib.licenses.mit;
homepage = "https://github.com/mirage/uuuu"; homepage = "https://github.com/mirage/uuuu";
maintainers = with lib.maintainers; [ ]; license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "uuuu.generate";
}; };
} }

@ -57,8 +57,9 @@ stdenv.mkDerivation {
module. An API allows to implement new renderers. module. An API allows to implement new renderers.
''; '';
homepage = webpage; homepage = webpage;
inherit (ocaml.meta) platforms;
license = licenses.isc; license = licenses.isc;
maintainers = [ maintainers.jirkamarsik ]; maintainers = [ maintainers.jirkamarsik ];
mainProgram = "vecho";
inherit (ocaml.meta) platforms;
}; };
} }

@ -42,8 +42,9 @@ buildDunePackage rec {
meta = { meta = {
description = "Pure OCaml Wayland protocol library"; description = "Pure OCaml Wayland protocol library";
homepage = "https://github.com/talex5/ocaml-wayland";
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sternenseemann ]; maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/talex5/ocaml-wayland"; mainProgram = "wayland-scanner-ocaml";
}; };
} }

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
homepage = "https://erratique.ch/software/webbrowser"; homepage = "https://erratique.ch/software/webbrowser";
license = lib.licenses.isc; license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
mainProgram = "browse";
inherit (ocaml.meta) platforms; inherit (ocaml.meta) platforms;
}; };
} }

@ -22,6 +22,9 @@ buildDunePackage rec {
moveToOutput bin "''${!outputBin}" moveToOutput bin "''${!outputBin}"
''; '';
meta = wodan.meta // { description = "Wodan clients with Unix integration"; }; meta = wodan.meta // {
description = "Wodan clients with Unix integration";
mainProgram = "wodanc";
};
} }

@ -27,9 +27,10 @@ buildDunePackage rec {
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/serokell/ocaml-recovery-parser";
description = "A simple fork of OCaml parser with support for error recovery"; description = "A simple fork of OCaml parser with support for error recovery";
homepage = "https://github.com/serokell/ocaml-recovery-parser";
license = with licenses; [ lgpl2Only mit mpl20 ]; license = with licenses; [ lgpl2Only mit mpl20 ];
maintainers = with maintainers; [ romildo ]; maintainers = with maintainers; [ romildo ];
mainProgram = "menhir-recover";
}; };
} }

@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
inherit (ocaml.meta) platforms; inherit (ocaml.meta) platforms;
description = "Natively-compiled OCaml scripts"; description = "Natively-compiled OCaml scripts";
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
mainProgram = "ocamlscript";
}; };
} }

Loading…
Cancel
Save