472aeafc57
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
65 lines
1 KiB
Nix
65 lines
1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
wrapQtAppsHook,
|
|
qtbase,
|
|
qtmultimedia,
|
|
qttools,
|
|
qtpositioning,
|
|
qtlocation,
|
|
faad2,
|
|
mpg123,
|
|
portaudio,
|
|
libusb1,
|
|
rtl-sdr,
|
|
airspy,
|
|
soapysdr-with-plugins,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "abracadabra";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KejPi";
|
|
repo = "AbracaDABra";
|
|
rev = "v${version}";
|
|
hash = "sha256-oO8ef2VTw/gVNNU2JRXtEHEkJm7X7dypjZr0vZXCfH8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
wrapQtAppsHook
|
|
qttools
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtmultimedia
|
|
qtlocation
|
|
qtpositioning
|
|
faad2
|
|
mpg123
|
|
portaudio
|
|
libusb1
|
|
rtl-sdr
|
|
airspy
|
|
soapysdr-with-plugins
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DAIRSPY=ON"
|
|
"-DSOAPYSDR=ON"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "DAB/DAB+ radio application";
|
|
homepage = "https://github.com/KejPi/AbracaDABra";
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.markuskowa ];
|
|
mainProgram = "AbracaDABra";
|
|
};
|
|
}
|