1{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 name = "textql-${version}";
5 version = "2.0.3";
6 rev = "${version}";
7
8 goPackagePath = "github.com/dinedal/textql";
9
10 src = fetchFromGitHub {
11 inherit rev;
12 owner = "dinedal";
13 repo = "textql";
14 sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3";
15 };
16
17 goDeps = ./deps.nix;
18
19 meta = with stdenv.lib; {
20 description = "Execute SQL against structured text like CSV or TSV";
21 homepage = https://github.com/dinedal/textql;
22 license = licenses.mit;
23 maintainers = with maintainers; [ vrthra ];
24 };
25}