ocamlPackages: add meta.mainProgram to many packages

This commit is contained in:
Malo Bourgon 2022-05-09 10:30:27 -07:00 committed by Vincent Laporte
parent f770655390
commit b1de4bf60f
13 changed files with 27 additions and 19 deletions

View file

@ -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";
};
}

View file

@ -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 [];
};
}

View file

@ -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;
};
}

View file

@ -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";
};
}

View file

@ -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";
};
}

View file

@ -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 [];
};
}

View file

@ -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;
};
}

View file

@ -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;
};
}

View file

@ -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;
};
}

View file

@ -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 [];
};
}

View file

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

View file

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

View file

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