Files
nixpkgs/pkgs/by-name/cs/csvq/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
802 B
Nix

{
buildGoModule,
fetchFromGitHub,
testers,
lib,
csvq,
}:
buildGoModule rec {
pname = "csvq";
version = "1.18.1";
src = fetchFromGitHub {
owner = "mithrandie";
repo = "csvq";
rev = "v${version}";
hash = "sha256-1UK+LSMKryoUf2UWbGt8MU3zs5hH2WdpA2v/jBaIHYE=";
};
vendorHash = "sha256-byBYp+iNnnsAXR+T3XmdwaeeBG8oB1EgNkDabzgUC98=";
passthru.tests.version = testers.testVersion {
package = csvq;
version = "csvq version ${version}";
};
meta = {
description = "SQL-like query language for CSV";
mainProgram = "csvq";
homepage = "https://mithrandie.github.io/csvq/";
changelog = "https://github.com/mithrandie/csvq/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tomodachi94 ];
};
}