Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

103 lines
1.7 KiB
Nix

{
lib,
stdenv,
cmake,
pkg-config,
fetchFromGitHub,
makeDesktopItem,
alsa-lib,
speex,
libopus,
curl,
gsm,
libgcrypt,
libsigcxx,
popt,
qtbase,
qttools,
wrapQtAppsHook,
rtl-sdr,
tcl,
doxygen,
groff,
jsoncpp,
}:
let
desktopItem = makeDesktopItem rec {
name = "Qtel";
exec = "qtel";
icon = "qtel";
desktopName = name;
genericName = "EchoLink Client";
categories = [
"HamRadio"
"Qt"
"Network"
];
};
in
stdenv.mkDerivation rec {
pname = "svxlink";
version = "25.05.1";
src = fetchFromGitHub {
owner = "sm0svx";
repo = "svxlink";
tag = version;
hash = "sha256-OyAR/6heGX6J53p6x+ZPXY6nzSv22umMTg0ISlWcjp8=";
};
cmakeFlags = [
"-DDO_INSTALL_CHOWN=NO"
"-DRTLSDR_LIBRARIES=${rtl-sdr}/lib/librtlsdr.so"
"-DRTLSDR_INCLUDE_DIRS=${rtl-sdr}/include"
"../src"
];
dontWrapQtApps = true;
nativeBuildInputs = [
cmake
pkg-config
doxygen
groff
wrapQtAppsHook
];
buildInputs = [
alsa-lib
curl
gsm
libgcrypt
libsigcxx
libopus
popt
qtbase
qttools
rtl-sdr
speex
tcl
jsoncpp
];
postInstall = ''
rm -rf $out/share/applications
ln -s ${desktopItem}/share/applications $out/share/applications
wrapQtApp $out/bin/qtel
'';
meta = {
description = "Advanced repeater controller and EchoLink software";
longDescription = ''
Advanced repeater controller and EchoLink software for Linux including a
GUI, Qtel - The Qt EchoLink client
'';
homepage = "http://www.svxlink.org/";
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ zaninime ];
platforms = lib.platforms.linux;
};
}