mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
51 lines
965 B
Nix
51 lines
965 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, wrapQtAppsHook
|
|
, qtbase, qtmultimedia, qttools
|
|
, faad2, mpg123, portaudio
|
|
, libusb1, rtl-sdr, airspy, soapysdr-with-plugins
|
|
} :
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "abracadabra";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KejPi";
|
|
repo = "AbracaDABra";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pjcao8KTEmgE54dUBxLLnStszR32LryfciMKScBOGdc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
wrapQtAppsHook
|
|
qttools
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtmultimedia
|
|
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";
|
|
};
|
|
}
|
|
|