Skip to content

Commit

Permalink
nimPackages: add csvtools
Browse files Browse the repository at this point in the history
  • Loading branch information
trev-dev authored and ehmry committed Sep 30, 2023
1 parent a690937 commit cad9cf0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkgs/development/nim-packages/csvtools/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
})
2 changes: 2 additions & 0 deletions pkgs/top-level/nim-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit cad9cf0

Please sign in to comment.