forked from mirrors/nixpkgs
osmo-hnodeb: init at 0.1.1
This commit is contained in:
parent
0c051ec4f2
commit
9933b4d78e
59
pkgs/servers/osmocom/osmo-hnodeb/default.nix
Normal file
59
pkgs/servers/osmocom/osmo-hnodeb/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue