osmo-hnbgw: init at 1.4.0

This commit is contained in:
Janik H 2023-04-19 13:25:42 +02:00
parent 89c5cfec7d
commit f168d4993e
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,59 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
, lksctp-tools
, libosmo-netif
, libasn1c
, libosmo-sccp
, osmo-iuh
, osmo-mgw
}:
let
inherit (stdenv) isLinux;
in
stdenv.mkDerivation rec {
pname = "osmo-hnbgw";
version = "1.4.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-hnbgw";
rev = "${version}";
hash = "sha256-OWCAiU4mK57e5gm6QOovwmoFAaCG1d8ZYpkP4isIqvI=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
lksctp-tools
libosmo-netif
libasn1c
libosmo-sccp
osmo-iuh
osmo-mgw
];
enableParallelBuilding = true;
meta = {
description = "Osmocom Home NodeB Gateway, for attaching femtocells to the 3G CN (OsmoMSC, OsmoSGSN)";
homepage = "https://osmocom.org/projects/osmohnbgw";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ janik ];
platforms = lib.platforms.linux;
};
}

View file

@ -32862,6 +32862,8 @@ with pkgs;
osmo-hlr = callPackage ../servers/osmocom/osmo-hlr { }; osmo-hlr = callPackage ../servers/osmocom/osmo-hlr { };
osmo-hnbgw = callPackage ../servers/osmocom/osmo-hnbgw { };
osmo-iuh = callPackage ../servers/osmocom/osmo-iuh { }; osmo-iuh = callPackage ../servers/osmocom/osmo-iuh { };
osmo-mgw = callPackage ../servers/osmocom/osmo-mgw { }; osmo-mgw = callPackage ../servers/osmocom/osmo-mgw { };