3
0
Fork 0
forked from mirrors/nixpkgs

osmo-hnodeb: init at 0.1.1

This commit is contained in:
Janik H 2023-04-19 15:41:15 +02:00
parent 0c051ec4f2
commit 9933b4d78e
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,59 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
, lksctp-tools
, libasn1c
, libosmoabis
, libosmo-netif
, libosmo-sccp
, osmo-iuh
}:
let
inherit (stdenv) isLinux;
in
stdenv.mkDerivation rec {
pname = "osmo-hnodeb";
version = "0.1.1";
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-hnodeb";
rev = "${version}";
hash = "sha256-Izivyw2HqRmrM68ehGqlIkJeuZ986d1WQ0yr6NWWTdA=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
lksctp-tools
libasn1c
libosmoabis
libosmo-netif
libosmo-sccp
osmo-iuh
];
enableParallelBuilding = true;
meta = {
description = "(upper layers of) HomeNodeB";
homepage = "https://osmocom.org/projects/osmo-hnodeb";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ janik ];
platforms = lib.platforms.linux;
};
}

View file

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