csvtool: init at 2.4 (#122855)

launchpad/nixpkgs/master
David Guibert 3 years ago committed by GitHub
parent 266f6ee63a
commit 2ff04470d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      pkgs/development/ocaml-modules/csv/csvtool.nix
  2. 4
      pkgs/development/ocaml-modules/csv/default.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -0,0 +1,16 @@
{ lib, ocamlPackages }:
let inherit (ocamlPackages) buildDunePackage csv uutf; in
buildDunePackage {
pname = "csvtool";
inherit (csv) src version useDune2;
buildInputs = [ csv uutf ];
doCheck = true;
meta = csv.meta // {
description = "Command line tool for handling CSV files";
};
}

@ -4,13 +4,13 @@ buildDunePackage rec {
pname = "csv";
version = "2.4";
useDune2 = true;
src = fetchurl {
url = "https://github.com/Chris00/ocaml-${pname}/releases/download/${version}/csv-${version}.tbz";
sha256 = "13m9n8mdss6jfbiw7d5bybxn4n85vmg4zw7dc968qrgjfy0w9zhk";
};
useDune2 = true;
meta = {
description = "A pure OCaml library to read and write CSV files";
license = lib.licenses.lgpl21;

@ -2296,6 +2296,8 @@ in
csvkit = callPackage ../tools/text/csvkit { };
csvtool = callPackage ../development/ocaml-modules/csv/csvtool.nix { };
csv2latex = callPackage ../tools/misc/csv2latex { };
csvs-to-sqlite = with python3Packages; toPythonApplication csvs-to-sqlite;

Loading…
Cancel
Save