diff options
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/sdrconnect/default.nix | 19 |
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; [ |
