Skip to content

Commit

Permalink
standardnotes: 3.181.23 -> 3.195.13 (NixOS#365265)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Dec 24, 2024
2 parents 8812fb6 + 1c29bf1 commit ec2c7c6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/editors/standardnotes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
electron,
libsecret,
asar,
python3,
glib,
desktop-file-utils,
callPackage,
Expand Down Expand Up @@ -53,6 +54,13 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin $out/share/standardnotes
cp -R usr/share/{applications,icons} $out/share
cp -R opt/Standard\ Notes/resources/app.asar $out/share/standardnotes/
cp -R opt/Standard\ Notes/resources/app.asar.unpacked $out/share/standardnotes/
rm $out/share/standardnotes/app.asar.unpacked/node_modules/cbor-extract/build/node_gyp_bins/python3
ln -s ${python3.interpreter} $out/share/standardnotes/app.asar.unpacked/node_modules/cbor-extract/build/node_gyp_bins/python3
${lib.optionalString stdenv.hostPlatform.isAarch64 ''
rm $out/share/standardnotes/app.asar.unpacked/node_modules/microtime/build/node_gyp_bins/python3
ln -s ${python3.interpreter} $out/share/standardnotes/app.asar.unpacked/node_modules/microtime/build/node_gyp_bins/python3
''}
asar e $out/share/standardnotes/app.asar asar-unpacked
find asar-unpacked -name '*.node' -exec patchelf \
--add-rpath "${libPath}" \
Expand Down
10 changes: 5 additions & 5 deletions pkgs/applications/editors/standardnotes/src.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "3.181.23",
"version": "3.195.13",
"deb": {
"x86_64-linux": {
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.181.23/standard-notes-3.181.23-linux-amd64.deb",
"hash": "sha512-zWjST3guI0qifvZIwSLJ0nIpU12Mu3+m25Xdoqv0BQC7tscChEdCGUAJRUKHEf0b8l4uvp8qBGHiBOfbrIi//w=="
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.195.13/standard-notes-3.195.13-linux-amd64.deb",
"hash": "sha512-z7tZkOvzYzEPhu3rz8PG7mWdEua1z2ToVoj6l2wmvZUx/nS6lQ3yIFhEvpnMyXRZ2qDn4ihnBT20fyZttvkjMQ=="
},
"aarch64-linux": {
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.181.23/standard-notes-3.181.23-linux-arm64.deb",
"hash": "sha512-7R5Ym44mrVgUiqdt6NL8F9uUUOroQRxwn30xKThyIQm2HGRUJivRfOws98El9zV8bKG1khk4DZaMiLQSMjrtaQ=="
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.195.13/standard-notes-3.195.13-linux-arm64.deb",
"hash": "sha512-c9p7aLCkcqdtx/X2vrmb5GCyc7JtR9O9GVwrkgGPJpZ0FdSR5zhX0nI9sJFHBIA/GuPuDYOM4fimyfpQzy0Nfw=="
}
}
}

0 comments on commit ec2c7c6

Please sign in to comment.