about summary refs log blame commit diff
path: root/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix
blob: 8d540877d5770d1acadf4202e4ee711850d04722 (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
 
                            
                                           

                       

                                                     
                                                                         

    
                                  



                                                 
{ depot, pkgs, ... }:

depot.nix.buildGo.external {
  path = "github.com/hashicorp/golang-lru";

  src = pkgs.fetchgit {
    url = "https://github.com/hashicorp/golang-lru";
    rev = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d";
    hash = "sha256:1p2igd58xkm8yaj2c2wxiplkf2hj6kxwrg6ss7mx61s5rd71v5xb";
  };

  deps = with depot.third_party; [
    gopkgs."golang.org".x.net.context.ctxhttp
    gopkgs."cloud.google.com".go.compute.metadata
  ];
}