mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
ff1a94e523
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.
20 lines
347 B
Nix
20 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";
|
|
};
|
|
}
|