mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ lib, stdenv, fetchFromGitHub, cmake, libpulseaudio, libX11, makeWrapper, sox }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "multimon-ng";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EliasOenal";
|
|
repo = "multimon-ng";
|
|
rev = version;
|
|
sha256 = "sha256-IJnvOVajkcjaa0DDo8hbkkVvBnDqPKQUN8wJHlafo70=";
|
|
};
|
|
|
|
buildInputs = lib.optionals stdenv.isLinux [ libpulseaudio libX11 ];
|
|
|
|
nativeBuildInputs = [ cmake makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/multimon-ng --prefix PATH : "${lib.makeBinPath [sox]}"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
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";
|
|
license = licenses.gpl2Only;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ markuskowa ];
|
|
};
|
|
}
|