2023-10-09 19:29:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, libpulseaudio, libX11, makeWrapper, sox }:
|
2021-04-08 16:26:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "multimon-ng";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "1.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EliasOenal";
|
|
|
|
repo = "multimon-ng";
|
|
|
|
rev = version;
|
2023-10-19 13:55:26 +00:00
|
|
|
sha256 = "sha256-IJnvOVajkcjaa0DDo8hbkkVvBnDqPKQUN8wJHlafo70=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isLinux [ libpulseaudio libX11 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [ cmake makeWrapper ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/multimon-ng --prefix PATH : "${lib.makeBinPath [sox]}"
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Multimon is a digital baseband audio protocol decoder";
|
|
|
|
longDescription = ''
|
|
|
|
multimon-ng a fork of multimon, a digital baseband audio
|
|
|
|
protocol decoder for common signaling modes in commercial and
|
|
|
|
amateur radio data services. It decodes the following digital
|
|
|
|
transmission modes:
|
|
|
|
|
|
|
|
POCSAG512 POCSAG1200 POCSAG2400 EAS UFSK1200 CLIPFSK AFSK1200
|
|
|
|
AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2
|
|
|
|
ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE CW
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/EliasOenal/multimon-ng";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = licenses.gpl2Only;
|
2021-08-05 21:33:18 +00:00
|
|
|
platforms = platforms.unix;
|
2021-04-08 16:26:57 +00:00
|
|
|
maintainers = with maintainers; [ markuskowa ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|