aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2026-03-26 10:18:55 -0700
committerMark Nipper <nipsy@bitgnome.net>2026-03-26 10:18:55 -0700
commit871683fcb2d02054b99ae14341fa60b96de8e4f9 (patch)
treee7b34b80173bd9fd454a58a81b056468c9aa8542 /pkgs
parent801cb90d5f59d3729710ec9dfd77017f62a17196 (diff)
downloadnix-871683fcb2d02054b99ae14341fa60b96de8e4f9.tar
nix-871683fcb2d02054b99ae14341fa60b96de8e4f9.tar.gz
nix-871683fcb2d02054b99ae14341fa60b96de8e4f9.tar.bz2
nix-871683fcb2d02054b99ae14341fa60b96de8e4f9.tar.lz
nix-871683fcb2d02054b99ae14341fa60b96de8e4f9.tar.xz
nix-871683fcb2d02054b99ae14341fa60b96de8e4f9.tar.zst
nix-871683fcb2d02054b99ae14341fa60b96de8e4f9.zip
Bump SDRconnect version to 1.0.8 and reswizzle build to handle new upstream tarballs
Diffstat (limited to '')
-rw-r--r--pkgs/sdrconnect/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/sdrconnect/default.nix b/pkgs/sdrconnect/default.nix
index 21260bb..d3a6668 100644
--- a/pkgs/sdrconnect/default.nix
+++ b/pkgs/sdrconnect/default.nix
@@ -5,7 +5,6 @@
fetchurl,
fontconfig,
gcc,
- iconConvTools,
icu,
lib,
libice,
@@ -19,21 +18,21 @@
let
- hash = "22b2d4724";
+ hash = "de38254b9";
platforms = {
aarch64-linux = {
arch = "arm64";
- sha256 = "02958g7wf0dx572syrjhb9mxrfm62zcqflvdkakwigp03xfv6dlf";
+ sha256 = "1vkmffl0xjyg22fk4sfl35cc2m5zi9i0jcmd4vk25fjyj9r94p1p";
};
x86_64-linux = {
arch = "x64";
- sha256 = "18w79acgli9736vfrmbsqrh6pfhzir9q6333yg20shqc23f2m02r";
+ sha256 = "0giljynl62pn9bik0jxl01h7pj9p3s94vlrg532dnn5kndh68lcs";
};
};
- version = "1.0.7";
+ version = "1.0.8";
inherit (stdenv.hostPlatform) system;
@@ -46,11 +45,11 @@ in
pname = "sdrconnect";
src = fetchurl {
- url = "https://www.sdrplay.com/software/SDRconnect_linux-${arch}_${hash}.run";
+ url = "https://www.sdrplay.com/software/sdrconnect_linux-${arch}_${hash}.tar.gz";
inherit sha256;
};
- nativeBuildInputs = [ autoPatchelfHook copyDesktopItems iconConvTools ];
+ nativeBuildInputs = [ autoPatchelfHook copyDesktopItems ];
buildInputs = [
alsa-lib
@@ -70,14 +69,14 @@ in
appendRunpaths = [ "${placeholder "out"}/lib" ];
unpackPhase = ''
- bash $src --target . --noexec
+ tar xaf $src
'';
postInstall = ''
- mkdir -p $out/bin $out/lib
+ mkdir -p $out/bin $out/lib $out/share/icons/hicolor/64x64/apps
cp SDRconnect $out/bin
cp *.so $out/lib
- icoFileToHiColorTheme sdrconnect.ico sdrconnect $out
+ cp icons/64x64/sdrconnect.png $out/share/icons/hicolor/64x64/apps
'';
desktopItems = with meta; [