ocamlPackages: add meta.mainProgram to many packages

main
Malo Bourgon 2 years ago committed by Vincent Laporte
parent f770655390
commit b1de4bf60f
  1. 5
      pkgs/development/ocaml-modules/biniou/default.nix
  2. 1
      pkgs/development/ocaml-modules/jsonm/default.nix
  3. 1
      pkgs/development/ocaml-modules/omd/default.nix
  4. 3
      pkgs/development/ocaml-modules/piqi-ocaml/default.nix
  5. 3
      pkgs/development/ocaml-modules/ppx_bap/default.nix
  6. 3
      pkgs/development/ocaml-modules/uuidm/default.nix
  7. 3
      pkgs/development/ocaml-modules/uunf/default.nix
  8. 3
      pkgs/development/ocaml-modules/uuseg/default.nix
  9. 3
      pkgs/development/ocaml-modules/uutf/default.nix
  10. 5
      pkgs/development/ocaml-modules/xmlm/default.nix
  11. 1
      pkgs/development/ocaml-modules/yojson/default.nix
  12. 8
      pkgs/development/tools/ocaml/findlib/default.nix
  13. 7
      pkgs/development/tools/ocaml/oasis/default.nix

@ -22,9 +22,10 @@ buildDunePackage rec {
''; '';
meta = { meta = {
inherit (src.meta) homepage;
description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve"; 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; license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "bdump";
}; };
} }

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
homepage = "https://erratique.ch/software/jsonm"; homepage = "https://erratique.ch/software/jsonm";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ vbgl ]; maintainers = with lib.maintainers; [ vbgl ];
mainProgram = "jsontrip";
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [];
}; };
} }

@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/ocaml/omd"; homepage = "https://github.com/ocaml/omd";
license = lib.licenses.isc; license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
mainProgram = "omd";
inherit (ocaml.meta) platforms; inherit (ocaml.meta) platforms;
}; };
} }

@ -28,9 +28,10 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://piqi.org";
description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings"; description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings";
homepage = "https://piqi.org";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.maurer ]; maintainers = [ maintainers.maurer ];
mainProgram = "piqic-ocaml";
}; };
} }

@ -44,8 +44,9 @@ buildDunePackage rec {
meta = { meta = {
description = "The set of ppx rewriters for BAP"; description = "The set of ppx rewriters for BAP";
license = lib.licenses.mit;
inherit (src.meta) homepage; inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
mainProgram = "ppx-bap";
}; };
} }

@ -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"; 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"; homepage = "https://erratique.ch/software/uuidm";
license = licenses.bsd3; license = licenses.bsd3;
platforms = ocaml.meta.platforms or [];
maintainers = [ maintainers.maurer ]; maintainers = [ maintainers.maurer ];
mainProgram = "uuidtrip";
platforms = ocaml.meta.platforms or [];
}; };
} }

@ -32,8 +32,9 @@ stdenv.mkDerivation {
meta = with lib; { meta = with lib; {
description = "An OCaml module for normalizing Unicode text"; description = "An OCaml module for normalizing Unicode text";
homepage = webpage; homepage = webpage;
inherit (ocaml.meta) platforms;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
mainProgram = "unftrip";
inherit (ocaml.meta) platforms;
}; };
} }

@ -26,8 +26,9 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "An OCaml library for segmenting Unicode text"; description = "An OCaml library for segmenting Unicode text";
homepage = webpage; homepage = webpage;
inherit (ocaml.meta) platforms;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
mainProgram = "usegtrip";
inherit (ocaml.meta) platforms;
}; };
} }

@ -26,8 +26,9 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Non-blocking streaming Unicode codec for OCaml"; description = "Non-blocking streaming Unicode codec for OCaml";
homepage = "https://erratique.ch/software/uutf"; homepage = "https://erratique.ch/software/uutf";
inherit (ocaml.meta) platforms;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
mainProgram = "utftrip";
inherit (ocaml.meta) platforms;
}; };
} }

@ -27,8 +27,9 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "An OCaml streaming codec to decode and encode the XML data format"; description = "An OCaml streaming codec to decode and encode the XML data format";
homepage = webpage; homepage = webpage;
platforms = ocaml.meta.platforms or [];
maintainers = [ maintainers.vbgl ];
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ];
mainProgram = "xmltrip";
platforms = ocaml.meta.platforms or [];
}; };
} }

@ -18,5 +18,6 @@ buildDunePackage rec {
homepage = "https://github.com/ocaml-community/${pname}"; homepage = "https://github.com/ocaml-community/${pname}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
mainProgram = "ydump";
}; };
} }

@ -54,14 +54,12 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
homepage = "http://projects.camlcity.org/projects/findlib.html";
description = "O'Caml library manager"; description = "O'Caml library manager";
homepage = "http://projects.camlcity.org/projects/findlib.html";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maggesi vbmithr ];
mainProgram = "ocamlfind";
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [];
maintainers = [
lib.maintainers.maggesi
lib.maintainers.vbmithr
];
}; };
} }

@ -39,12 +39,11 @@ stdenv.mkDerivation {
''; '';
meta = with lib; { meta = with lib; {
homepage = "http://oasis.forge.ocamlcore.org/";
description = "Configure, build and install system for OCaml projects"; description = "Configure, build and install system for OCaml projects";
homepage = "http://oasis.forge.ocamlcore.org/";
license = licenses.lgpl21; license = licenses.lgpl21;
maintainers = with maintainers; [ vbgl maggesi ];
mainProgram = "oasis";
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [];
maintainers = with maintainers; [
vbgl maggesi
];
}; };
} }

Loading…
Cancel
Save