From 6dd492a0f1f1942855f84554084e8374ff43927e Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Sun, 21 Jul 2024 11:07:54 +0200 Subject: csvtk: init at 0.30.0 --- pkgs/by-name/cs/csvtk/package.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/cs/csvtk/package.nix (limited to 'pkgs/by-name/cs') diff --git a/pkgs/by-name/cs/csvtk/package.nix b/pkgs/by-name/cs/csvtk/package.nix new file mode 100644 index 000000000000..4079b55f9835 --- /dev/null +++ b/pkgs/by-name/cs/csvtk/package.nix @@ -0,0 +1,30 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +let + version = "0.30.0"; +in +buildGoModule { + pname = "csvtk"; + inherit version; + + src = fetchFromGitHub { + owner = "shenwei356"; + repo = "csvtk"; + rev = "refs/tags/v${version}"; + hash = "sha256-xq56dErO0vjG9bZ5aISIFWX4IOHaQksE9W1is2HiFuQ="; + }; + + vendorHash = "sha256-wJedDF7QIg8oWc/QX+rZDyq/nkAW+PMb8EYb0RGJxQM="; + + meta = { + description = "Cross-platform, efficient and practical CSV/TSV toolkit in Golang"; + changelog = "https://github.com/shenwei356/csvtk/releases/tag/v${version}"; + homepage = "https://github.com/shenwei356/csvtk"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; + mainProgram = "csvtk"; + }; +} -- cgit 1.4.1