Skip to content

Commit b691697

Browse files
authored
bird-lg: 1.3.11 -> 1.4.4 (#495875)
2 parents c412cc9 + f224885 commit b691697

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

pkgs/by-name/bi/bird-lg/package.nix

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
buildGoModule,
33
fetchFromGitHub,
44
lib,
5+
nix-update-script,
56
symlinkJoin,
67
}:
78
let
89
generic =
910
{ modRoot, vendorHash }:
1011
buildGoModule rec {
1112
pname = "bird-lg-${modRoot}";
12-
version = "1.3.11";
13+
version = "1.4.4";
1314

1415
src = fetchFromGitHub {
1516
owner = "xddxdd";
1617
repo = "bird-lg-go";
1718
rev = "v${version}";
18-
hash = "sha256-C0JC8vLLEk+d6vlrtuW7tHj06K7A3HBjKXZ5Nt+2i4I=";
19+
hash = "sha256-60QyqilUI0yNCTZrCyUZhQYFio0gP/Z5Lcb3btlQRaE=";
1920
};
2021

2122
doDist = false;
@@ -41,19 +42,30 @@ let
4142

4243
bird-lg-frontend = generic {
4344
modRoot = "frontend";
44-
vendorHash = "sha256-kNysGHtOUtYGHDFDlYNzdkCXGUll105Triy4UR7UP0M=";
45+
vendorHash = "sha256-tqpDH7KfpwPuOvIfx3vVclMGOMNFroiBcNb1lN0PtQc=";
4546
};
4647

4748
bird-lg-proxy = generic {
4849
modRoot = "proxy";
49-
vendorHash = "sha256-iosWHHeJyqMPF+Y01+mj70HDKWw0FAZKDpEESAwS/i4=";
50+
vendorHash = "sha256-9BpsRIIidBEm+ivwFIo00H9MTH4R3kkze/W/HaH8124=";
5051
};
5152
in
5253
symlinkJoin {
5354
pname = "bird-lg";
54-
inherit (bird-lg-frontend) version meta;
55+
inherit (bird-lg-frontend) version meta src;
5556
paths = [
5657
bird-lg-frontend
5758
bird-lg-proxy
5859
];
60+
passthru = {
61+
inherit bird-lg-frontend bird-lg-proxy;
62+
updateScript = nix-update-script {
63+
extraArgs = [
64+
"--subpackage"
65+
"bird-lg-frontend"
66+
"--subpackage"
67+
"bird-lg-proxy"
68+
];
69+
};
70+
};
5971
}

0 commit comments

Comments
 (0)