diff options
author | Markus Kowalewski <markus.kowalewski@gmail.com> | 2023-05-27 00:25:36 +0200 |
---|---|---|
committer | Markus Kowalewski <markus.kowalewski@gmail.com> | 2023-05-28 21:10:13 +0200 |
commit | f7ea3ca9ebe7a28457e87ede2c51e9d84e48982f (patch) | |
tree | 70a091b63a7a930f1b21864903b4c89dbc8e541a /pkgs/applications/radio | |
parent | b4c3f71098c70d9bc924a7dc0902ca4da19ad733 (diff) |
abracadabra: init at 2.1.1
Diffstat (limited to 'pkgs/applications/radio')
-rw-r--r-- | pkgs/applications/radio/abracadabra/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/applications/radio/abracadabra/default.nix b/pkgs/applications/radio/abracadabra/default.nix new file mode 100644 index 0000000000000..5058a740b3d85 --- /dev/null +++ b/pkgs/applications/radio/abracadabra/default.nix @@ -0,0 +1,50 @@ +{ 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"; + }; +} + |