nixpkgs/pkgs/by-name/cs/csvq/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
793 B
Nix
Raw Permalink Normal View History

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