textql: Init textql at 2.0.3

textql allows one to execute SQL against structured text like CSV or TSV
This commit provides initial package for textql 2.0.3
This commit is contained in:
Rahul Gopinath 2016-05-07 21:39:39 -07:00
parent e3e27ecf4e
commit e9cb41e99a
2 changed files with 20 additions and 0 deletions

View File

@ -3669,6 +3669,8 @@ in
testdisk = callPackage ../tools/misc/testdisk { };
textql = goPackages.textql.bin // { outputs = [ "bin" ]; };
html2text = callPackage ../tools/text/html2text { };
html-tidy = callPackage ../tools/text/html-tidy { };

View File

@ -4159,4 +4159,22 @@ let
sha256 = "14p3hvv82bsxqnbnzz8hjv75i39kzg154a132n6cdxx3vgw76gck";
propagatedBuildInputs = [ go-colorable mattn.go-runewidth ingo ];
};
textql = buildFromGitHub rec {
rev = "1785cd353c68aa34f97627143b9c2908dfd4ea04";
version = "2.0.3";
owner = "dinedal";
repo = "textql";
sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3";
propagatedBuildInputs = [ go-sqlite3 ];
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 ];
};
};
}; in self