saleae-logic-2: 2.4.7 -> 2.4.9

This commit is contained in:
Alex Martens 2023-08-08 17:30:10 -07:00
parent d250621e5a
commit 8ed4a02a95

View File

@ -1,10 +1,10 @@
{ lib, fetchurl, makeDesktopItem, appimageTools }:
let
name = "saleae-logic-2";
version = "2.4.7";
version = "2.4.9";
src = fetchurl {
url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage";
hash = "sha256-dMt8XWLatLNothU9oTJqYrBGNZZs0L5dXRMKP9ZeM6E=";
url = "https://downloads.saleae.com/logic2/Logic-${version}-linux-x64.AppImage";
hash = "sha256-zM5XztFv+A7cNMqNPGAO5i0B45w6AMyRL4OR+tG03JY=";
};
desktopItem = makeDesktopItem {
inherit name;
@ -25,7 +25,7 @@ appimageTools.wrapType2 {
in
''
mkdir -p $out/etc/udev/rules.d
cp ${appimageContents}/resources/linux/99-SaleaeLogic.rules $out/etc/udev/rules.d/
cp ${appimageContents}/resources/linux-x64/99-SaleaeLogic.rules $out/etc/udev/rules.d/
mkdir -p $out/share/pixmaps
ln -s ${desktopItem}/share/applications $out/share/
cp ${appimageContents}/usr/share/icons/hicolor/256x256/apps/Logic.png $out/share/pixmaps/Logic.png