nixpkgs/pkgs/by-name/ab/abracadabra/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
998 B
Nix
Raw Normal View History

2024-09-26 18:48:45 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
2024-11-02 20:13:21 +00:00
qt6,
2024-09-26 18:48:45 +00:00
faad2,
mpg123,
portaudio,
libusb1,
rtl-sdr,
airspy,
soapysdr-with-plugins,
}:
2023-05-26 22:25:36 +00:00
stdenv.mkDerivation rec {
pname = "abracadabra";
2024-11-25 10:27:52 +00:00
version = "2.7.1";
2023-05-26 22:25:36 +00:00
src = fetchFromGitHub {
owner = "KejPi";
repo = "AbracaDABra";
rev = "v${version}";
2024-11-25 10:27:52 +00:00
hash = "sha256-d9DNgpvAZUova0ef6Ge4L/hRjLpY/UkDBawU2UAuSGI=";
2023-05-26 22:25:36 +00:00
};
nativeBuildInputs = [
cmake
2024-11-02 20:13:21 +00:00
qt6.wrapQtAppsHook
qt6.qttools
2023-05-26 22:25:36 +00:00
];
buildInputs = [
2024-11-02 20:13:21 +00:00
qt6.qtbase
qt6.qtmultimedia
qt6.qtlocation
qt6.qtpositioning
2023-05-26 22:25:36 +00:00
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";
};
}