blob: 050b25f8da58b288d8449f5f84ae497a6f3146e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ buildGoModule, fetchFromGitHub, testers, lib, csvq }:
buildGoModule rec {
pname = "csvq";
version = "1.18.1";
src = fetchFromGitHub {
owner = "mithrandie";
repo = "csvq";
rev = "v${version}";
sha256 = "sha256-1UK+LSMKryoUf2UWbGt8MU3zs5hH2WdpA2v/jBaIHYE=";
};
vendorHash = "sha256-byBYp+iNnnsAXR+T3XmdwaeeBG8oB1EgNkDabzgUC98=";
passthru.tests.version = testers.testVersion {
package = csvq;
version = "csvq version ${version}";
};
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ tomodachi94 ];
};
}
|