depot/third_party/nixpkgs/pkgs/development/tools/glock/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
678 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "glock";
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";
license = licenses.mit;
maintainers = [ maintainers.rushmorem ];
};
}