depot/third_party/nixpkgs/pkgs/by-name/cs/csvtk/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

30 lines
747 B
Nix

{
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";
};
}