2016-04-17 00:33:50 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, libpulseaudio }:
|
2015-07-27 12:12:29 +01:00
|
|
|
let
|
|
|
|
version = "1.0.0";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "multimon-ng-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EliasOenal";
|
|
|
|
repo = "multimon-ng";
|
|
|
|
rev = "4cc984f35f859539c94aa56d3fc6218a6de51148";
|
|
|
|
sha256 = "12z6f0ra2k0qh56pcvnwvlxd3msvr6yr97jvs7w5kf42jqbxdsga";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qt4 libpulseaudio ];
|
|
|
|
|
2016-04-17 00:33:50 +01:00
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
2015-07-27 12:12:29 +01:00
|
|
|
|
2016-07-17 15:42:08 +01:00
|
|
|
qmakeFlags = [ "multimon-ng.pro" ];
|
|
|
|
|
2015-07-27 12:12:29 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp multimon-ng $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "Multimon is a digital baseband audio protocol decoder";
|
2015-07-27 12:12:29 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|