saleae-logic-2: init at 2.3.33

This commit is contained in:
j-hui 2021-08-16 10:33:12 -04:00
parent 6adca8026c
commit 3a9a6863a7
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, fetchurl, appimageTools }:
let
name = "saleae-logic-2";
version = "2.3.33";
src = fetchurl {
url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage";
sha256 = "09vypl03gj58byk963flskzkhl4qrd9qw1kh0sywbqnzbzvj5cgm";
};
in
appimageTools.wrapType2 {
inherit name src;
extraInstallCommands =
let appimageContents = appimageTools.extractType2 { inherit name src; }; in
''
mkdir -p $out/etc/udev/rules.d
cp ${appimageContents}/resources/linux/99-SaleaeLogic.rules $out/etc/udev/rules.d/
'';
meta = with lib; {
homepage = "https://www.saleae.com/";
description = "Software for Saleae logic analyzers";
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.j-hui ];
};
}

View file

@ -14353,6 +14353,8 @@ with pkgs;
saleae-logic = callPackage ../development/tools/misc/saleae-logic { };
saleae-logic-2 = callPackage ../development/tools/misc/saleae-logic-2 { };
sauce-connect = callPackage ../development/tools/sauce-connect { };
sd-local = callPackage ../development/tools/sd-local { };