File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3+ stdenv ,
34 buildGoModule ,
45 fetchFromGitHub ,
56 stdenvNoCC ,
1213
1314let
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 {
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 ] ;
You can’t perform that action at this time.
0 commit comments