todoist-electron: 1.0.3 -> 1.0.9

This commit is contained in:
Niklas 2022-11-21 10:56:07 +01:00 committed by GitHub
parent c107fb66da
commit a793a1aa45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_15, libsecret }:
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_21, libsecret }:
stdenv.mkDerivation rec {
pname = "todoist-electron";
version = "1.0.3";
version = "1.0.9";
src = fetchurl {
url = "https://electron-dl.todoist.com/linux/Todoist-${version}.AppImage";
sha256 = "sha256-bHX/RWDfe+ht66U7xg4HBZxeWlNBu4gYlIVd+9OuMNU=";
sha256 = "sha256-DfNFDiGYTFGetVRlAjpV/cdWcGzRDEGZjR0Dc9aAtXc=";
};
appimageContents = appimageTools.extractType2 {
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
makeWrapper ${electron_15}/bin/electron $out/bin/${pname} \
makeWrapper ${electron_21}/bin/electron $out/bin/${pname} \
--add-flags $out/share/${pname}/resources/app.asar \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc libsecret ]}"
'';