2016-06-06 11:26:56 +01:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-03 17:42:33 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "textql-${version}";
|
|
|
|
version = "2.0.3";
|
|
|
|
rev = "${version}";
|
2017-09-22 20:24:43 +01:00
|
|
|
|
2016-06-03 17:42:33 +01:00
|
|
|
goPackagePath = "github.com/dinedal/textql";
|
|
|
|
|
2016-06-06 11:26:56 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-06-03 17:42:33 +01:00
|
|
|
inherit rev;
|
2016-06-06 11:26:56 +01:00
|
|
|
owner = "dinedal";
|
|
|
|
repo = "textql";
|
2016-06-03 17:42:33 +01:00
|
|
|
sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3";
|
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-03 17:42:33 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Execute SQL against structured text like CSV or TSV";
|
|
|
|
homepage = https://github.com/dinedal/textql;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
};
|
|
|
|
}
|