mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
23 lines
538 B
Nix
23 lines
538 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "webhook";
|
|
version = "2.7.0";
|
|
|
|
goPackagePath = "github.com/adnanh/webhook";
|
|
excludedPackages = [ "test" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "adnanh";
|
|
repo = "webhook";
|
|
rev = version;
|
|
sha256 = "1spiqjy0z84z96arf57bn6hyvfsd6l8w6nv874mbis6vagifikci";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/adnanh/webhook";
|
|
license = [ licenses.mit ];
|
|
description = "incoming webhook server that executes shell commands";
|
|
};
|
|
}
|