mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
glock: init at 20160816
This commit is contained in:
parent
15935839b9
commit
391ea6f748
3 changed files with 47 additions and 0 deletions
24
pkgs/development/tools/glock/default.nix
Normal file
24
pkgs/development/tools/glock/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
21
pkgs/development/tools/glock/deps.nix
Normal file
21
pkgs/development/tools/glock/deps.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue