diff options
Diffstat (limited to 'pkgs/by-name/cs/csvtk/package.nix')
-rw-r--r-- | pkgs/by-name/cs/csvtk/package.nix | 30 |
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"; + }; +} |