mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
20 lines
342 B
Nix
20 lines
342 B
Nix
{ 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";
|
|
};
|
|
}
|