aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdrconnect.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/sdrconnect.nix b/sdrconnect.nix
index a54a69f..22b41d8 100644
--- a/sdrconnect.nix
+++ b/sdrconnect.nix
@@ -2,10 +2,12 @@
pkgs.stdenv.mkDerivation rec {
pname = "sdrconnect";
version = "0.0.0";
+
src = builtins.fetchurl {
url = "https://www.sdrplay.com/software/SDRconnect_linux-x64_0fd82d9dc.run";
sha256 = "7200f58efc1bd78250f6057cc08b5564ea9e8f33f8ef655805bbff97f56d38c2";
};
+
sourceRoot = ".";
unpackCmd = "bash $src --quiet --noexec --target .";
@@ -17,6 +19,9 @@ pkgs.stdenv.mkDerivation rec {
remarkable2-toolchain
stdenv.cc.cc.lib
util-linux.lib
+ xorg.libICE
+ xorg.libSM
+ xorg.libX11
];
installPhase = ''
@@ -41,6 +46,5 @@ pkgs.stdenv.mkDerivation rec {
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
- mainProgram = "$out/bin/SDRconnect";
};
}