osmo-sgsn: init at 1.10.0

This commit is contained in:
Janik H 2023-04-19 13:42:05 +02:00
parent 1a4160212a
commit 5c6abb1c25
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,57 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
, libosmoabis
, libosmo-netif
, osmo-hlr
, osmo-ggsn
, c-ares
}:
let
inherit (stdenv) isLinux;
in
stdenv.mkDerivation rec {
pname = "osmo-ggsn";
version = "1.10.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-sgsn";
rev = "${version}";
hash = "sha256-tjExV8XigPEZ5gOCEoWfjhtGJVa5Ja3GHnpSovradak=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
libosmoabis
libosmo-netif
osmo-hlr
osmo-ggsn
c-ares
];
enableParallelBuilding = true;
meta = {
description = "Osmocom implementation of the 3GPP Serving GPRS Support Node (SGSN)";
homepage = "https://osmocom.org/projects/osmosgsn";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ janik ];
platforms = lib.platforms.linux;
};
}

View File

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