2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-09-20 08:56:11 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "glock";
|
2021-01-23 12:26:19 +00:00
|
|
|
version = "20160816-${lib.strings.substring 0 7 rev}";
|
2016-09-20 08:56:11 +00:00
|
|
|
rev = "b8c84ff5ade15a6238ca61c20d3afc70d2e41276";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/robfig/glock";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "robfig";
|
|
|
|
repo = "glock";
|
|
|
|
sha256 = "10jwn3k71p340g8d43zjx7k1j534rcd7rss8pif09mpfrn9qndhh";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/robfig/glock";
|
2016-09-20 08:56:11 +00:00
|
|
|
description = "A command-line tool to lock Go dependencies to specific revisions";
|
2018-08-20 18:12:38 +00:00
|
|
|
license = licenses.mit;
|
2016-09-20 08:56:11 +00:00
|
|
|
maintainers = [ maintainers.rushmorem ];
|
|
|
|
};
|
|
|
|
}
|