nixpkgs/pkgs/applications/misc/multimon-ng/default.nix

44 lines
1.2 KiB
Nix
Raw Normal View History

2016-04-17 00:33:50 +01:00
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, libpulseaudio }:
let
version = "1.1.7";
in
stdenv.mkDerivation {
name = "multimon-ng-${version}";
src = fetchFromGitHub {
owner = "EliasOenal";
repo = "multimon-ng";
2017-12-29 06:26:34 +00:00
rev = "${version}";
sha256 = "11wfk8jw86z44y0ji4jr4s8ig3zwxp6g9h3sl81pvk6l3ipqqbgi";
};
buildInputs = [ qt4 libpulseaudio ];
2016-04-17 00:33:50 +01:00
nativeBuildInputs = [ qmake4Hook ];
qmakeFlags = [ "multimon-ng.pro" ];
installPhase = ''
mkdir -p $out/bin
cp multimon-ng $out/bin
'';
meta = with stdenv.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.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ the-kenny ];
};
}