diff --git a/pkgs/servers/osmocom/osmo-msc/default.nix b/pkgs/servers/osmocom/osmo-msc/default.nix new file mode 100644 index 000000000000..fdb6d35bcb79 --- /dev/null +++ b/pkgs/servers/osmocom/osmo-msc/default.nix @@ -0,0 +1,61 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config +, libosmocore +, sqlite +, libosmoabis +, libosmo-netif +, libosmo-sccp +, osmo-mgw +, osmo-hlr +, lksctp-tools +}: + +let + inherit (stdenv) isLinux; +in + +stdenv.mkDerivation rec { + pname = "osmo-msc"; + version = "1.10.0"; + + src = fetchFromGitHub { + owner = "osmocom"; + repo = "osmo-msc"; + rev = "${version}"; + hash = "sha256-CVyjSo+QFDLcow6XAcudhQ7LOnbCSHeYVTzTMh7KEwg="; + }; + + postPatch = '' + echo "${version}" > .tarball-version + ''; + + + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + + buildInputs = [ + libosmocore + sqlite + libosmoabis + libosmo-netif + libosmo-sccp + osmo-mgw + osmo-hlr + lksctp-tools + ]; + + enableParallelBuilding = true; + + meta = { + description = "Osmocom implementation of 3GPP Mobile Swtiching Centre (MSC)"; + homepage = "https://osmocom.org/projects/osmomsc/wiki"; + license = lib.licenses.agpl3Only; + maintainers = with lib.maintainers; [ janik ]; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c4173fe17952..b44804ad2c1c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32862,6 +32862,8 @@ with pkgs; osmo-mgw = callPackage ../servers/osmocom/osmo-mgw { }; + osmo-msc = callPackage ../servers/osmocom/osmo-msc { }; + osmscout-server = libsForQt5.callPackage ../applications/misc/osmscout-server { }; palemoon = callPackage ../applications/networking/browsers/palemoon { };