Merge pull request #18780 from rushmorem/glock

glock: init at 20160816
This commit is contained in:
Rushmore Mushambi 2016-09-20 11:05:13 +02:00 committed by GitHub
commit bfa60327bc
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "glock-${version}";
version = "20160816-${stdenv.lib.strings.substring 0 7 rev}";
rev = "b8c84ff5ade15a6238ca61c20d3afc70d2e41276";
goPackagePath = "github.com/robfig/glock";
src = fetchFromGitHub {
inherit rev;
owner = "robfig";
repo = "glock";
sha256 = "10jwn3k71p340g8d43zjx7k1j534rcd7rss8pif09mpfrn9qndhh";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://github.com/robfig/glock;
description = "A command-line tool to lock Go dependencies to specific revisions";
maintainers = [ maintainers.rushmorem ];
};
}

View File

@ -0,0 +1,21 @@
# This file was generated by go2nix.
[
{
goPackagePath = "github.com/agtorre/gocolorize";
fetch = {
type = "git";
url = "https://github.com/agtorre/gocolorize";
rev = "f42b554bf7f006936130c9bb4f971afd2d87f671";
sha256 = "1dj7s8bgw9qky344d0k9gz661c0m317a08a590184drw7m51hy9p";
};
}
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "f1a397bba50dee815e8c73f3ec94ffc0e8df1a09";
sha256 = "1wy8nn2vg70n98g80i1zrk49129phyfbzxbicj748bmf82rnaxzg";
};
}
]

View File

@ -847,6 +847,8 @@ in
glide = callPackage ../development/tools/glide { };
glock = callPackage ../development/tools/glock { };
gmic = callPackage ../tools/graphics/gmic { };
goa = callPackage ../development/tools/goa { };