pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / cs / csvq / package.nix
blobaa1816082b3969d7ab92cad52ae61ca012fec839
1 { buildGoModule, fetchFromGitHub, testers, lib, csvq }:
3 buildGoModule rec {
4   pname = "csvq";
5   version = "1.18.1";
7   src = fetchFromGitHub {
8     owner = "mithrandie";
9     repo = "csvq";
10     rev = "v${version}";
11     hash = "sha256-1UK+LSMKryoUf2UWbGt8MU3zs5hH2WdpA2v/jBaIHYE=";
12   };
14   vendorHash = "sha256-byBYp+iNnnsAXR+T3XmdwaeeBG8oB1EgNkDabzgUC98=";
16   passthru.tests.version = testers.testVersion {
17     package = csvq;
18     version = "csvq version ${version}";
19   };
21   meta = with lib; {
22     description = "SQL-like query language for CSV";
23     mainProgram = "csvq";
24     homepage = "https://mithrandie.github.io/csvq/";
25     changelog = "https://github.com/mithrandie/csvq/releases/tag/v${version}";
26     license = licenses.mit;
27     maintainers = with maintainers; [ tomodachi94 ];
28   };