Skip to content

Commit

Permalink
abracadabra: init at 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
markuskowa committed May 28, 2023
1 parent b4c3f71 commit f7ea3ca
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pkgs/applications/radio/abracadabra/default.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2767,6 +2767,8 @@ with pkgs;

twine = with python3Packages; toPythonApplication twine;

abracadabra = qt6Packages.callPackage ../applications/radio/abracadabra { };

accelergy = callPackage ../applications/science/computer-architecture/accelergy { };

aldo = callPackage ../applications/radio/aldo { };
Expand Down

0 comments on commit f7ea3ca

Please sign in to comment.