about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/govendor/default.nix
blob: b24afebb3aa374e6242e3708585689ceb6bffb0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "govendor";
  version = "1.0.9";

  goPackagePath = "github.com/kardianos/govendor";

  src = fetchFromGitHub {
    owner = "kardianos";
    repo = "govendor";
    rev = "v${version}";
    sha256 = "0g02cd25chyijg0rzab4xr627pkvk5k33mscd6r0gf1v5xvadcfq";
  };

  meta = with lib; {
    homepage = "https://github.com/kardianos/govendor";
    description = "Go vendor tool that works with the standard vendor file";
    license = licenses.bsd3;
    maintainers = with maintainers; [ zimbatm ];
  };
}