From 7977977fa5a5b6e0bc11087c89a13acc6b565cc0 Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Sat, 11 May 2019 11:07:08 -0700 Subject: [PATCH] proto-contrib: init at 0.9.0 (#61261) --- .../tools/proto-contrib/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/tools/proto-contrib/default.nix diff --git a/pkgs/development/tools/proto-contrib/default.nix b/pkgs/development/tools/proto-contrib/default.nix new file mode 100644 index 000000000000..836683895565 --- /dev/null +++ b/pkgs/development/tools/proto-contrib/default.nix @@ -0,0 +1,23 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + pname = "proto-contrib"; + version = "0.9.0"; + + src = fetchFromGitHub { + owner = "emicklei"; + repo = pname; + rev = "v${version}"; + sha256 = "0ksxic7cypv9gg8q5lkl5bla1n9i65z7b03cx9lwq6252glmf2jk"; + }; + + modSha256 = "19cqz13jd95d5vibd10420gg69ldgf6afc51mkglhafgmmif56b0"; + + meta = with lib; { + description = "Contributed tools and other packages on top of the Go proto package"; + homepage = https://github.com/emicklei/proto-contrib; + license = licenses.mit; + maintainers = with maintainers; [ kalbasit ]; + platforms = platforms.linux ++ platforms.darwin; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 62e0971f78e1..1fb44c41bd02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -157,6 +157,8 @@ in deadcode = callPackage ../development/tools/deadcode { }; + proto-contrib = callPackage ../development/tools/proto-contrib {}; + demoit = callPackage ../servers/demoit { }; diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;