Skip to content

Commit 1dda7ff

Browse files
authored
librewolf-bin-unwrapped: 136.0-2 -> 136.0.4-1 (#390743)
2 parents a1438f1 + 968d3dd commit 1dda7ff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pkgs/by-name/li/librewolf-bin-unwrapped/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let
3737

3838
pname = "librewolf-bin-unwrapped";
3939

40-
version = "136.0-2";
40+
version = "136.0.4-1";
4141
in
4242

4343
stdenv.mkDerivation {
@@ -47,9 +47,9 @@ stdenv.mkDerivation {
4747
url = "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/${version}/librewolf-${version}-${arch}-package.tar.xz";
4848
hash =
4949
{
50-
i686-linux = "sha256-VRY6OY3nBTfwrdoRF8zBjSfwrxCM9SnmjUvAXhLbGSY=";
51-
x86_64-linux = "sha256-KjOES7AjoObZ0EPjTFAVafm++8MsxtEs1FgViLsR/hc=";
52-
aarch64-linux = "sha256-vUW+eEabJ3Gp0ov/9ms/KyLzwHOCKozpR/CdZGaxA0I=";
50+
i686-linux = "sha256-olqGXteeHqT456SEMEHjPWcnypABGZbFvlpWKBF962Y=";
51+
x86_64-linux = "sha256-3zcI1ND+laXFAv7nDlUEDjM007XHglnMYyFkd1n+sR8=";
52+
aarch64-linux = "sha256-9OwVuKsTJZ7js846BZSzXiyz53d0ebXwugXyrmnFFQc=";
5353
}
5454
.${stdenv.hostPlatform.system} or throwSystem;
5555
};

pkgs/by-name/li/librewolf-bin-unwrapped/update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
set -eou pipefail
55

6-
latestVersion=$(curl ${PRIVATE-TOKEN:+-u ":$PRIVATE-TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/releases | jq -r '.[0].tag_name')
6+
latestVersion=$(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/releases | jq -r '.[0].tag_name')
77
currentVersion=$(nix-instantiate --eval -E "with import ./. {}; librewolf-bin-unwrapped.version or (lib.getVersion librewolf-bin-unwrapped)" | tr -d '"')
88

99
echo "latest version: $latestVersion"
@@ -19,6 +19,6 @@ for i in \
1919
"x86_64-linux linux-x86_64" \
2020
"aarch64-linux linux-arm64"; do
2121
set -- $i
22-
hash=$(nix hash convert --to sri --hash-algo sha256 $(curl ${PRIVATE-TOKEN:+-u ":$PRIVATE-TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/$latestVersion/librewolf-$latestVersion-$2-package.tar.xz.sha256sum))
22+
hash=$(nix hash convert --to sri --hash-algo sha256 $(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/$latestVersion/librewolf-$latestVersion-$2-package.tar.xz.sha256sum))
2323
update-source-version librewolf-bin-unwrapped $latestVersion $hash --system=$1 --ignore-same-version
2424
done

0 commit comments

Comments
 (0)