2016-09-20 10:56:11 +02:00
|
|
|
{ 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";
|
2018-08-20 20:12:38 +02:00
|
|
|
license = licenses.mit;
|
2016-09-20 10:56:11 +02:00
|
|
|
maintainers = [ maintainers.rushmorem ];
|
|
|
|
};
|
|
|
|
}
|