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
65 lines
1.3 KiB
Nix
65 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
hamlib_4,
|
|
libusb1,
|
|
cmake,
|
|
fftw,
|
|
fftwFloat,
|
|
qt6,
|
|
boost,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "js8call";
|
|
version = "2.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "js8call";
|
|
repo = "js8call";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-rYXjcmQRRfizJVriZo9yX8x2yYfWpL94Cprx9eFC3ss=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qt6.wrapQtAppsHook
|
|
pkg-config
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
hamlib_4
|
|
libusb1
|
|
fftw
|
|
fftwFloat
|
|
qt6.qtbase
|
|
qt6.qtmultimedia
|
|
qt6.qtserialport
|
|
boost
|
|
];
|
|
|
|
prePatch = ''
|
|
substituteInPlace CMakeLists.txt \
|
|
--replace "/usr/share/applications" "$out/share/applications" \
|
|
--replace "/usr/share/pixmaps" "$out/share/pixmaps" \
|
|
--replace "/usr/bin/" "$out/bin"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Weak-signal keyboard messaging for amateur radio";
|
|
longDescription = ''
|
|
JS8Call is software using the JS8 Digital Mode providing weak signal
|
|
keyboard to keyboard messaging to Amateur Radio Operators.
|
|
'';
|
|
homepage = "http://js8call.com/";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [
|
|
melling
|
|
sarcasticadmin
|
|
];
|
|
};
|
|
})
|