depot/third_party/nixpkgs/pkgs/servers/http/webhook/default.nix
Default email b55a4ee46f Project import generated by Copybara.
GitOrigin-RevId: e9158eca70ae59e73fae23be5d13d3fa0cfc78b4
2020-12-09 13:39:15 +01:00

22 lines
538 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "webhook";
version = "2.8.0";
goPackagePath = "github.com/adnanh/webhook";
excludedPackages = [ "test" ];
src = fetchFromGitHub {
owner = "adnanh";
repo = "webhook";
rev = version;
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
};
meta = with lib; {
homepage = "https://github.com/adnanh/webhook";
license = [ licenses.mit ];
description = "incoming webhook server that executes shell commands";
};
}