nixpkgs/pkgs/development/ocaml-modules/csv/csvtool.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

19 lines
347 B
Nix

{ lib, ocamlPackages }:
let inherit (ocamlPackages) buildDunePackage csv uutf; in
buildDunePackage {
pname = "csvtool";
inherit (csv) src version;
duneVersion = "3";
buildInputs = [ csv uutf ];
doCheck = true;
meta = csv.meta // {
description = "Command line tool for handling CSV files";
mainProgram = "csvtool";
};
}