osmo-bsc: init at 1.9.1

This commit is contained in:
Janik H 2023-04-19 09:13:43 +02:00
parent fd12f22cdd
commit ffd24c84f2
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
, libosmoabis
, libosmo-netif
, libosmo-sccp
, osmo-mgw
}:
let
inherit (stdenv) isLinux;
in
stdenv.mkDerivation rec {
pname = "osmo-bsc";
version = "1.9.1";
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-bsc";
rev = "${version}";
hash = "sha256-oCHEWQjHG2JZdoisROukwRbpQq2cNAgC+1yOqsgx+As=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
libosmoabis
libosmo-netif
libosmo-sccp
osmo-mgw
];
enableParallelBuilding = true;
meta = {
description = "GSM Base Station Controller";
homepage = "https://projects.osmocom.org/projects/osmobsc";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ janik ];
platforms = lib.platforms.linux;
};
}

View File

@ -32858,6 +32858,8 @@ with pkgs;
osmo = callPackage ../applications/office/osmo { };
osmo-bsc = callPackage ../servers/osmocom/osmo-bsc { };
osmo-hlr = callPackage ../servers/osmocom/osmo-hlr { };
osmo-mgw = callPackage ../servers/osmocom/osmo-mgw { };