notion-app: 4.6.3 -> 4.9.1

This commit is contained in:
ZHAO Jin-Xiang 2025-04-26 11:19:49 +08:00
parent 3a8258229c
commit 3b12dc86c5
2 changed files with 7 additions and 9 deletions

View file

@ -1,12 +1,12 @@
{
"x86_64-darwin": {
"version": "4.6.3",
"url": "https://desktop-release.notion-static.com/Notion-4.6.3.zip",
"hash": "sha512-8MVCebWFInBLh8PEnm2hcCW95tncOvaIPx+MxC0xCr377fEpCAU9IlCjhUokKxw/u3sljU7Vfkxhwk/kXjh+PQ=="
"version": "4.9.1",
"url": "https://desktop-release.notion-static.com/Notion-4.9.1.zip",
"hash": "sha512-q32pytnWo9YIXqWFvEa7Pw2FI1S0EAR5O0O33At2l7OVCJLytdV0BavsZtMP+xhDw51TUUYnDsMzkXoTVAzaCQ=="
},
"aarch64-darwin": {
"version": "4.6.3",
"url": "https://desktop-release.notion-static.com/Notion-arm64-4.6.3.zip",
"hash": "sha512-aNMx/tZ26KXz0Wb3kajRER6Ni9raItflCCt+aQTKMz3v4SN+wkoad/aKbIugrNB30+4cxeVRJISOZMNWmQryOA=="
"version": "4.9.1",
"url": "https://desktop-release.notion-static.com/Notion-arm64-4.9.1.zip",
"hash": "sha512-DFgQOevvIDIq3zG0O3x3kwmDmtEtpifw0MIB7CPmuAhAix7LJwM2+FxeOXr1YlJF0MaAja5kllMWSyK993Qijw=="
}
}

View file

@ -5,9 +5,7 @@
unzip,
}:
let
info =
(builtins.fromJSON (builtins.readFile ./info.json))."${stdenvNoCC.targetPlatform.system}"
or (throw "notion-app: unsupported system ${stdenvNoCC.targetPlatform.system}");
info = (lib.importJSON ./info.json)."${stdenvNoCC.hostPlatform.parsed.cpu.name}-darwin";
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "notion-app";