nixpkgs/pkgs/development/tools/textql/default.nix
Kamil Chmielewski 914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541

* update docs to describe `deps.nix`
* include goDeps in nix-shell GOPATH
* NixOS 16.09 rel notes about replacing goPackages
2016-09-16 00:04:55 +01:00

26 lines
616 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "textql-${version}";
version = "2.0.3";
rev = "${version}";
goPackagePath = "github.com/dinedal/textql";
src = fetchFromGitHub {
inherit rev;
owner = "dinedal";
repo = "textql";
sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3";
};
goDeps = ./deps.nix;
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 ];
};
}