about summary refs log tree commit diff
path: root/pkgs/by-name/cs
diff options
context:
space:
mode:
authorSandro2024-09-01 18:21:17 +0200
committerGitHub2024-09-01 18:21:17 +0200
commit0e3bd13299cc45f7c860ce4a3c6d45458a0810d7 (patch)
treebc4b59dc94e3acc808c42ec73879fba91a377db5 /pkgs/by-name/cs
parentc28af594dcb3a2372062d8434501c0566fec7e43 (diff)
parent6dd492a0f1f1942855f84554084e8374ff43927e (diff)
csvtk: init at 0.30.0 (#328866)
Diffstat (limited to 'pkgs/by-name/cs')
-rw-r--r--pkgs/by-name/cs/csvtk/package.nix30
1 files changed, 30 insertions, 0 deletions
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";
+  };
+}