mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 15:58:36 +00:00
csvtool: init at 2.4 (#122855)
This commit is contained in:
parent
266f6ee63a
commit
2ff04470d1
16
pkgs/development/ocaml-modules/csv/csvtool.nix
Normal file
16
pkgs/development/ocaml-modules/csv/csvtool.nix
Normal file
|
@ -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…
Reference in a new issue