nimPackages: add csvtools

This commit is contained in:
Trevor Richards 2023-09-29 22:39:04 -07:00 committed by Emery Hemingway
parent a6909370c4
commit cad9cf0dac
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ lib, pkgs, buildNimPackage, fetchFromGitHub }:
buildNimPackage (finalAttrs: {
pname = "csvtools";
version = "0.2.1";
src = fetchFromGitHub {
owner = "andreaferretti";
repo = "csvtools";
rev = "${finalAttrs.version}";
hash = "sha256-G/OvcusnlRR5zdGF+wC7z411RLXI6D9aFJVj9LrMR+s=";
};
doCheck = true;
meta = finalAttrs.src.meta // {
description = "Manage CSV files easily in Nim";
homepage = "https://github.com/andreaferretti/csvtools";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.trevdev ];
};
})

View File

@ -31,6 +31,8 @@ lib.makeScope newScope (self:
coap = callPackage ../development/nim-packages/coap { };
csvtools = callPackage ../development/nim-packages/csvtools { };
db_connector = callPackage ../development/nim-packages/db_connector { };
docopt = callPackage ../development/nim-packages/docopt { };