Unverified Commit ec2c7c65 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

standardnotes: 3.181.23 -> 3.195.13 (#365265)

parents 8812fb66 1c29bf1d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  electron,
  libsecret,
  asar,
  python3,
  glib,
  desktop-file-utils,
  callPackage,
@@ -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}" \
+5 −5
Original line number Diff line number Diff line
{
  "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=="
    }
  }
}