osmo-mgw: init at 1.11.1

This commit is contained in:
Janik H 2023-04-19 08:56:33 +02:00
parent de71779899
commit a2cae9db3c
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,51 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
, libosmo-netif
, libosmoabis
}:
let
inherit (stdenv) isLinux;
in
stdenv.mkDerivation rec {
pname = "osmo-mgw";
version = "1.11.1";
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-mgw";
rev = "${version}";
hash = "sha256-l7JBAigcqQdb1IIz2iuetK8EKVkevtei7hB98g4a79Y=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
libosmo-netif
libosmoabis
];
enableParallelBuilding = true;
meta = {
description = "Osmocom Media Gateway (MGW). speaks RTP and E1 as well as MGCP";
homepage = "https://osmocom.org/projects/osmo-mgw";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ janik ];
platforms = lib.platforms.linux;
};
}

View file

@ -32860,6 +32860,8 @@ with pkgs;
osmo-hlr = callPackage ../servers/osmocom/osmo-hlr { };
osmo-mgw = callPackage ../servers/osmocom/osmo-mgw { };
osmscout-server = libsForQt5.callPackage ../applications/misc/osmscout-server { };
palemoon = callPackage ../applications/networking/browsers/palemoon { };