2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, boost
|
2021-06-28 23:13:55 +00:00
|
|
|
, log4cpp, pjsip, openssl, alsa-lib, mumlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
with lib; stdenv.mkDerivation {
|
|
|
|
pname = "mumsi";
|
|
|
|
version = "unstable-2018-12-12";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "slomkowski";
|
|
|
|
repo = "mumsi";
|
|
|
|
rev = "961b75792f8da22fb5502e39edb286e32172d0b0";
|
|
|
|
sha256 = "0vrivl1fiiwjsz4v26nrn8ra3k9v0mcz7zjm2z319fw8hv6n1nrk";
|
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ boost log4cpp pkg-config pjsip mumlib openssl alsa-lib ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -Dm555 mumsi $out/bin/mumsi
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SIP to Mumble gateway/bridge using PJSUA stack";
|
|
|
|
homepage = "https://github.com/slomkowski/mumsi";
|
|
|
|
maintainers = with maintainers; [ das_j ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|