1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

osmo-bts: init at 1.6.0

This commit is contained in:
Janik H 2023-04-19 15:05:47 +02:00
parent 5c6abb1c25
commit 405fe5f5b2
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,51 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
, libosmoabis
, libosmo-netif
}:
let
inherit (stdenv) isLinux;
in
stdenv.mkDerivation rec {
pname = "osmo-bts";
version = "1.6.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-bts";
rev = "${version}";
hash = "sha256-RSWXWQn3DAPtThUbthyXrSFSQhHzKaH/m1f6/MCojzM=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
libosmoabis
libosmo-netif
];
enableParallelBuilding = true;
meta = {
description = "Osmocom GSM Base Transceiver Station (BTS)";
homepage = "https://osmocom.org/projects/osmobts";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ janik ];
platforms = lib.platforms.linux;
};
}

View file

@ -32860,6 +32860,8 @@ with pkgs;
osmo-bsc = callPackage ../servers/osmocom/osmo-bsc { };
osmo-bts = callPackage ../servers/osmocom/osmo-bts { };
osmo-ggsn = callPackage ../servers/osmocom/osmo-ggsn { };
osmo-hlr = callPackage ../servers/osmocom/osmo-hlr { };