From 1c30b4b8287ca0c12f4250ce53721df90b6c52c3 Mon Sep 17 00:00:00 2001 From: Chris Moultrie <821688+tebriel@users.noreply.github.com> Date: Tue, 13 Jun 2023 21:08:09 -0400 Subject: [PATCH] todoist-electron: 1.0.8 -> 8.3.3 Also bump dependency: electron_21 -> electron_24 --- pkgs/applications/misc/todoist-electron/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/todoist-electron/default.nix b/pkgs/applications/misc/todoist-electron/default.nix index 50e8a2ea10d8..67c9f83683b8 100644 --- a/pkgs/applications/misc/todoist-electron/default.nix +++ b/pkgs/applications/misc/todoist-electron/default.nix @@ -1,12 +1,12 @@ -{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_21, libsecret }: +{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_24, libsecret }: stdenv.mkDerivation rec { pname = "todoist-electron"; - version = "1.0.9"; + version = "8.3.3"; src = fetchurl { - url = "https://electron-dl.todoist.com/linux/Todoist-${version}.AppImage"; - sha256 = "sha256-DfNFDiGYTFGetVRlAjpV/cdWcGzRDEGZjR0Dc9aAtXc="; + url = "https://electron-dl.todoist.com/linux/Todoist-linux-x86_64-${version}.AppImage"; + hash = "sha256-X928hCrYVOBTEZq1hmZWgWlabtOzQrLUuptF/SJcAto="; }; appimageContents = appimageTools.extractType2 { @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { ''; postFixup = '' - makeWrapper ${electron_21}/bin/electron $out/bin/${pname} \ + makeWrapper ${electron_24}/bin/electron $out/bin/todoist-electron \ --add-flags $out/share/${pname}/resources/app.asar \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc libsecret ]}" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"