tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
webhook: use buildGoModule
Azat Bahawi
3 years ago
b0e0d8db
260653fe
+14
-7
1 changed file
expand all
collapse all
unified
split
pkgs
servers
http
webhook
default.nix
+14
-7
pkgs/servers/http/webhook/default.nix
···
1
1
-
{ lib, buildGoPackage, fetchFromGitHub }:
1
1
+
{ lib
2
2
+
, buildGoModule
3
3
+
, fetchFromGitHub
4
4
+
}:
2
5
3
3
-
buildGoPackage rec {
6
6
+
buildGoModule rec {
4
7
pname = "webhook";
5
8
version = "2.8.0";
6
6
-
7
7
-
goPackagePath = "github.com/adnanh/webhook";
8
8
-
excludedPackages = [ "test" ];
9
9
10
10
src = fetchFromGitHub {
11
11
owner = "adnanh";
···
14
14
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
15
15
};
16
16
17
17
+
vendorSha256 = null;
18
18
+
19
19
+
subPackages = [ "." ];
20
20
+
21
21
+
doCheck = false;
22
22
+
17
23
meta = with lib; {
24
24
+
description = "Incoming webhook server that executes shell commands";
18
25
homepage = "https://github.com/adnanh/webhook";
19
19
-
license = [ licenses.mit ];
20
20
-
description = "incoming webhook server that executes shell commands";
26
26
+
license = licenses.mit;
27
27
+
maintainers = with maintainers; [ azahi ];
21
28
};
22
29
}