Files
nixpkgs/pkgs/by-name/ab/abracadabra/package.nix
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

61 lines
1006 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
qt6,
faad2,
mpg123,
portaudio,
libusb1,
rtl-sdr,
airspy,
soapysdr-with-plugins,
}:
stdenv.mkDerivation rec {
pname = "abracadabra";
version = "3.3.1";
src = fetchFromGitHub {
owner = "KejPi";
repo = "AbracaDABra";
tag = "v${version}";
hash = "sha256-cx5Kq5V0XTUJdqEDI0iDICIygbYkGu8JwdCACNLMgtY=";
};
nativeBuildInputs = [
cmake
qt6.wrapQtAppsHook
qt6.qttools
];
buildInputs = [
qt6.qtbase
qt6.qtmultimedia
qt6.qtlocation
qt6.qtpositioning
faad2
mpg123
portaudio
libusb1
rtl-sdr
airspy
soapysdr-with-plugins
];
cmakeFlags = [
"-DAIRSPY=ON"
"-DSOAPYSDR=ON"
];
meta = {
description = "DAB/DAB+ radio application";
homepage = "https://github.com/KejPi/AbracaDABra";
platforms = lib.platforms.linux;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ markuskowa ];
mainProgram = "AbracaDABra";
};
}