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

78 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
qtbase,
qtcharts,
qtmultimedia,
qt5compat,
faad2,
rtl-sdr,
soapysdr-with-plugins,
libusb-compat-0_1,
fftwSinglePrec,
lame,
mpg123,
unixtools,
withFlac ? true,
flac,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "welle-io";
version = "2.7";
src = fetchFromGitHub {
owner = "AlbrechtL";
repo = "welle.io";
tag = "v${finalAttrs.version}";
hash = "sha256-+xjwvxFrv++XF6Uhm/ZwkseuToz3LtqCfTD18GiwNyw=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
unixtools.xxd
];
buildInputs = [
faad2
fftwSinglePrec
lame
libusb-compat-0_1
mpg123
qtbase
qtcharts
qtmultimedia
qt5compat
rtl-sdr
soapysdr-with-plugins
]
++ lib.optional withFlac flac;
cmakeFlags = [
"-DRTLSDR=true"
"-DSOAPYSDR=true"
]
++ lib.optional withFlac "-DFLAC=true";
meta = {
description = "DAB/DAB+ Software Radio";
homepage = "https://www.welle.io/";
maintainers = with lib.maintainers; [
ck3d
markuskowa
];
license = lib.licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
]
++ lib.platforms.darwin;
};
})