From 404b224529c59e485e1ea062d22e4f7581373070 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Mon, 10 Sep 2018 17:47:58 +0100 Subject: [PATCH] govendor: init at 1.0.9 (#46485) --- pkgs/development/tools/govendor/default.nix | 22 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/tools/govendor/default.nix diff --git a/pkgs/development/tools/govendor/default.nix b/pkgs/development/tools/govendor/default.nix new file mode 100644 index 000000000000..2030c8ba444a --- /dev/null +++ b/pkgs/development/tools/govendor/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "govendor-${version}"; + version = "1.0.9"; + + goPackagePath = "github.com/kardianos/govendor"; + + src = fetchFromGitHub { + owner = "kardianos"; + repo = "govendor"; + rev = "v${version}"; + sha256 = "0g02cd25chyijg0rzab4xr627pkvk5k33mscd6r0gf1v5xvadcfq"; + }; + + meta = with stdenv.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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2243d3324a55..7961a769fac0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14466,6 +14466,8 @@ with pkgs; govers = callPackage ../development/tools/govers { }; + govendor = callPackage ../development/tools/govendor { }; + gotools = callPackage ../development/tools/gotools { }; gotop = callPackage ../tools/system/gotop { };