Skip to content

Commit

Permalink
fix: Update redis insight download url and update script
Browse files Browse the repository at this point in the history
  • Loading branch information
sudosubin committed Jun 3, 2024
1 parent 510211a commit 0281e36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions libraries/nixpkgs/programs/redisinsight/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
let
sources = {
"aarch64-darwin" = {
url = "https://download.redisinsight.redis.com/latest/RedisInsight-mac-arm64.dmg";
sha256 = "10y52nlbiqs7f85r1d83z4y68mbgzs5z7zaiq01spjbxfpdanpch";
url = "https://download.redisinsight.redis.com/latest/Redis-Insight-mac-arm64.dmg";
sha256 = "102p494bvjnr157q0xyh10wq69kd8yr1c9ph670qyi4pr0gm9gbx";
};
"x86_64-darwin" = {
url = "https://download.redisinsight.redis.com/latest/RedisInsight-mac-x64.dmg";
sha256 = "06r668l4bjx2s3p19n7av8717y05lq90dzss42mnlm7y684zjhxi";
url = "https://download.redisinsight.redis.com/latest/Redis-Insight-mac-x64.dmg";
sha256 = "1sm17nxw2jy08bp2yivi2ibn3nyh42p09qkj36k4d9srmnpwz8k9";
};
};

in
stdenvNoCC.mkDerivation rec {
pname = "redisinsight";
version = "2.48.0";
version = "2.50.0";

src = fetchurl {
inherit (sources.${stdenvNoCC.hostPlatform.system}) url sha256;
Expand Down
2 changes: 1 addition & 1 deletion scripts/auto-update-modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ modules:
write: ["version", "sha256"]
methods:
get_version: |-
curl -s "https://formulae.brew.sh/api/cask/redisinsight.json" | jq -r ".version"
curl -s "https://api.github.com/repos/RedisInsight/RedisInsight/releases/latest" | jq -r ".tag_name"
- path: ./libraries/nixpkgs/programs/shottr/default.nix
args:
Expand Down

0 comments on commit 0281e36

Please sign in to comment.