saleae-logic-2: add lib dependencies
This commit is contained in:
parent
5c2f59ce3b
commit
6acd4f5b5a
1 changed files with 42 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, appimageTools }:
|
{ lib, fetchurl, appimageTools, gtk3 }:
|
||||||
let
|
let
|
||||||
name = "saleae-logic-2";
|
name = "saleae-logic-2";
|
||||||
version = "2.3.33";
|
version = "2.3.33";
|
||||||
|
@ -11,11 +11,47 @@ appimageTools.wrapType2 {
|
||||||
inherit name src;
|
inherit name src;
|
||||||
|
|
||||||
extraInstallCommands =
|
extraInstallCommands =
|
||||||
let appimageContents = appimageTools.extractType2 { inherit name src; }; in
|
let
|
||||||
''
|
appimageContents = appimageTools.extractType2 { inherit name src; };
|
||||||
mkdir -p $out/etc/udev/rules.d
|
in
|
||||||
cp ${appimageContents}/resources/linux/99-SaleaeLogic.rules $out/etc/udev/rules.d/
|
''
|
||||||
'';
|
mkdir -p $out/etc/udev/rules.d
|
||||||
|
cp ${appimageContents}/resources/linux/99-SaleaeLogic.rules $out/etc/udev/rules.d/
|
||||||
|
'';
|
||||||
|
|
||||||
|
profile = ''
|
||||||
|
export XDG_DATA_DIRS="${gtk3}/share/gsettings-schemas/${gtk3.name}''${XDG_DATA_DIRS:+:"''$XDG_DATA_DIRS"}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
extraPkgs = pkgs: with pkgs; [
|
||||||
|
wget
|
||||||
|
unzip
|
||||||
|
glib
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libxcb
|
||||||
|
xorg.libXcomposite
|
||||||
|
xorg.libXcursor
|
||||||
|
xorg.libXdamage
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXfixes
|
||||||
|
xorg.libXi
|
||||||
|
xorg.libXrender
|
||||||
|
xorg.libXtst
|
||||||
|
nss
|
||||||
|
nspr
|
||||||
|
dbus
|
||||||
|
gdk-pixbuf
|
||||||
|
gtk3
|
||||||
|
pango
|
||||||
|
atk
|
||||||
|
cairo
|
||||||
|
expat
|
||||||
|
xorg.libXrandr
|
||||||
|
xorg.libXScrnSaver
|
||||||
|
alsa-lib
|
||||||
|
at-spi2-core
|
||||||
|
cups
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.saleae.com/";
|
homepage = "https://www.saleae.com/";
|
||||||
|
|
Loading…
Reference in a new issue