1 { lib, stdenv, fetchFromGitHub, cmake, libpulseaudio, libX11, makeWrapper, sox }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-IJnvOVajkcjaa0DDo8hbkkVvBnDqPKQUN8wJHlafo70=";
14 buildInputs = lib.optionals stdenv.isLinux [ libpulseaudio libX11 ];
16 nativeBuildInputs = [ cmake makeWrapper ];
19 wrapProgram $out/bin/multimon-ng --prefix PATH : "${lib.makeBinPath [sox]}"
23 description = "Multimon is a digital baseband audio protocol decoder";
24 mainProgram = "multimon-ng";
26 multimon-ng a fork of multimon, a digital baseband audio
27 protocol decoder for common signaling modes in commercial and
28 amateur radio data services. It decodes the following digital
31 POCSAG512 POCSAG1200 POCSAG2400 EAS UFSK1200 CLIPFSK AFSK1200
32 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2
33 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE CW
35 homepage = "https://github.com/EliasOenal/multimon-ng";
36 license = licenses.gpl2Only;
37 platforms = platforms.unix;
38 maintainers = with maintainers; [ markuskowa ];