mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
23 lines
538 B
Nix
23 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";
|
|
};
|
|
}
|