1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/servers/mumsi/default.nix

28 lines
827 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, boost
2019-02-10 17:30:16 +00:00
, log4cpp, pjsip, openssl, alsaLib, mumlib }:
2019-08-13 22:52:01 +01:00
with lib; stdenv.mkDerivation {
2019-02-10 17:30:16 +00:00
pname = "mumsi";
version = "unstable-2018-12-12";
src = fetchFromGitHub {
owner = "slomkowski";
repo = "mumsi";
rev = "961b75792f8da22fb5502e39edb286e32172d0b0";
sha256 = "0vrivl1fiiwjsz4v26nrn8ra3k9v0mcz7zjm2z319fw8hv6n1nrk";
};
buildInputs = [ boost log4cpp pkg-config pjsip mumlib openssl alsaLib ];
nativeBuildInputs = [ cmake pkg-config ];
2019-02-10 17:30:16 +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;
};
}