m17-cxx-demod: init at 2.3, add to nixos/openwebrx

This commit is contained in:
Astro 2022-07-03 20:10:03 +02:00
parent 242090860a
commit 10565fccde
3 changed files with 27 additions and 0 deletions

View file

@ -22,6 +22,7 @@ in
digiham
codec2
js8call
m17-cxx-demod
alsaUtils
netcat
];

View file

@ -0,0 +1,24 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, boost, codec2 }:
stdenv.mkDerivation rec {
pname = "m17-cxx-demod";
version = "2.3";
src = fetchFromGitHub {
owner = "mobilinkd";
repo = pname;
rev = "v${version}";
hash = "sha256-mvppkFBmmPVqvlqIqrbwGrOBih5zS5sZrV/usEhHiws=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ codec2 boost ];
meta = with lib; {
description = "M17 Demodulator in C++";
homepage = "https://github.com/mobilinkd/m17-cxx-demod";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = teams.c3d2.members;
};
}

View file

@ -4979,6 +4979,8 @@ with pkgs;
inherit (gnome) gnome-common;
};
m17-cxx-demod = callPackage ../applications/radio/m17-cxx-demod { };
m17n_db = callPackage ../tools/inputmethods/m17n-db { };
m17n_lib = callPackage ../tools/inputmethods/m17n-lib { };