aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/sdrconnect/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/sdrconnect/default.nix')
-rw-r--r--pkgs/sdrconnect/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/sdrconnect/default.nix b/pkgs/sdrconnect/default.nix
index 388419c..eb7e94e 100644
--- a/pkgs/sdrconnect/default.nix
+++ b/pkgs/sdrconnect/default.nix
@@ -31,9 +31,9 @@ in
url = "https://www.sdrplay.com/software/SDRconnect_linux-${arch}_${hash}.run";
inherit sha256;
};
-
+
nativeBuildInputs = [ autoPatchelfHook copyDesktopItems iconConvTools ];
-
+
buildInputs = [
alsa-lib
fontconfig
@@ -41,27 +41,27 @@ in
util-linux # for libuuid
gcc.cc.lib # for libstdc++
];
-
+
runtimeDependencies = [
icu
xorg.libX11
xorg.libICE
xorg.libSM
];
-
+
appendRunpaths = [ "${placeholder "out"}/lib" ];
-
+
unpackPhase = ''
bash $src --target . --noexec
'';
-
+
postInstall = ''
mkdir -p $out/bin $out/lib
cp SDRconnect $out/bin
cp *.so $out/lib
icoFileToHiColorTheme sdrconnect.ico sdrconnect $out
'';
-
+
desktopItems = with meta; [
(makeDesktopItem {
name = pname;
@@ -74,7 +74,7 @@ in
keywords = [ "Ham" "Radio" "SDR" ];
})
];
-
+
meta = with lib; {
description = "Cross platform GUI client for SDRplay";
homepage = "https://www.sdrplay.com/sdrconnect/";