aboutsummaryrefslogtreecommitdiffstats
path: root/sdrconnect.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-03-02 03:45:04 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-03-02 03:45:04 -0800
commit62fbca1c3a2afc2cc20034b30f4d817fe87f84f9 (patch)
tree9ff9d8b17611e05729f160f09c0ad691a77a6565 /sdrconnect.nix
parentfdec064211fd12e9e1e379d7908caee3274ed6c3 (diff)
downloadnix-62fbca1c3a2afc2cc20034b30f4d817fe87f84f9.tar
nix-62fbca1c3a2afc2cc20034b30f4d817fe87f84f9.tar.gz
nix-62fbca1c3a2afc2cc20034b30f4d817fe87f84f9.tar.bz2
nix-62fbca1c3a2afc2cc20034b30f4d817fe87f84f9.tar.lz
nix-62fbca1c3a2afc2cc20034b30f4d817fe87f84f9.tar.xz
nix-62fbca1c3a2afc2cc20034b30f4d817fe87f84f9.tar.zst
nix-62fbca1c3a2afc2cc20034b30f4d817fe87f84f9.zip
Fix up missing dependencies
Diffstat (limited to '')
-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";
};
}