Skip to content

Commit 458ae0e

Browse files
authored
autobrr: 1.57.0 -> 1.58.0 (#379812)
2 parents 23fb193 + 45f3a21 commit 458ae0e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pkgs/by-name/au/autobrr/package.nix

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
stdenv,
34
buildGoModule,
45
fetchFromGitHub,
56
stdenvNoCC,
@@ -12,12 +13,12 @@
1213

1314
let
1415
pname = "autobrr";
15-
version = "1.57.0";
16+
version = "1.58.0";
1617
src = fetchFromGitHub {
1718
owner = "autobrr";
1819
repo = "autobrr";
1920
tag = "v${version}";
20-
hash = "sha256-RVkeSrL3ZfEz+oCICi8JFJ6AaOBBumi5mnnQYE5Gjt8=";
21+
hash = "sha256-NH3BVD/wZH5L6x6GcXZrynKFiirLRC6u434EBYQs4qQ=";
2122
};
2223

2324
autobrr-web = stdenvNoCC.mkDerivation {
@@ -39,7 +40,7 @@ let
3940
src
4041
sourceRoot
4142
;
42-
hash = "sha256-mABHRuZfjq9qNanfGGv+xDhs3bSufaWRecJypic8SWo=";
43+
hash = "sha256-ESMrd+2oqytC1dQDQvncoqHGAvIFlH/1sTLrUTuSyDg=";
4344
};
4445

4546
postBuild = ''
@@ -59,7 +60,7 @@ buildGoModule rec {
5960
src
6061
;
6162

62-
vendorHash = "sha256-rCtUE2/IwR6AnXQNgeH0TQ0BL7g6vi9L128xP0PwOXc=";
63+
vendorHash = "sha256-ifi4KFectr4UC1e+VJKnAWsx0f19XN2T3Paf2ud2/To=";
6364

6465
preBuild = ''
6566
cp -r ${autobrr-web}/* web/dist
@@ -70,7 +71,10 @@ buildGoModule rec {
7071
"-X main.commit=${src.tag}"
7172
];
7273

73-
doInstallCheck = true;
74+
# In darwin, tests try to access /etc/protocols, which is not permitted.
75+
doCheck = !stdenv.hostPlatform.isDarwin;
76+
doInstallCheck = !stdenv.hostPlatform.isDarwin;
77+
7478
nativeInstallCheckInputs = [
7579
versionCheckHook
7680
];

0 commit comments

Comments
 (0)