webhook: use buildGoModule
This commit is contained in:
parent
260653fe9b
commit
b0e0d8db46
1 changed files with 14 additions and 7 deletions
|
@ -1,12 +1,12 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "webhook";
|
pname = "webhook";
|
||||||
version = "2.8.0";
|
version = "2.8.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/adnanh/webhook";
|
|
||||||
excludedPackages = [ "test" ];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "adnanh";
|
owner = "adnanh";
|
||||||
repo = "webhook";
|
repo = "webhook";
|
||||||
|
@ -14,9 +14,16 @@ buildGoPackage rec {
|
||||||
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
|
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Incoming webhook server that executes shell commands";
|
||||||
homepage = "https://github.com/adnanh/webhook";
|
homepage = "https://github.com/adnanh/webhook";
|
||||||
license = [ licenses.mit ];
|
license = licenses.mit;
|
||||||
description = "incoming webhook server that executes shell commands";
|
maintainers = with maintainers; [ azahi ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue