about summary refs log tree commit diff
path: root/pkgs/development/tools/textql/default.nix
blob: 65fbbcb9e043d40c66e2bc37e5d4823a13e41080 (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
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
  name = "textql-${version}";
  version = "2.0.3";
  rev = "${version}";
  
  goPackagePath = "github.com/dinedal/textql";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/dinedal/textql";
    sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3";
  };

  goDeps = ./deps.json;

  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 ];
  };
}