ledger-live-desktop: 2.66.0 -> 2.69.0

This commit is contained in:
André Silva 2023-09-24 22:51:46 +01:00
parent 1ff350f7b8
commit 893851c2c8
No known key found for this signature in database
GPG key ID: 7C34FA12A023DC55

View file

@ -2,14 +2,13 @@
let
pname = "ledger-live-desktop";
version = "2.66.0";
version = "2.69.0";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-Du2bvtlNjxtkJ31RCKZmGtWxOEIjohbmEC5o3VvFGlY=";
hash = "sha256-9eELWlOzUd3xwAoob5XCj16JihOt6SHZe0Ybxb9dtQI=";
};
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
@ -23,6 +22,7 @@ appimageTools.wrapType2 rec {
install -m 444 -D ${appimageContents}/ledger-live-desktop.png $out/share/icons/hicolor/1024x1024/apps/ledger-live-desktop.png
${imagemagick}/bin/convert ${appimageContents}/ledger-live-desktop.png -resize 512x512 ledger-live-desktop_512.png
install -m 444 -D ledger-live-desktop_512.png $out/share/icons/hicolor/512x512/apps/ledger-live-desktop.png
substituteInPlace $out/share/applications/ledger-live-desktop.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
'';