nixpkgs/pkgs/by-name/os/osmo-bts/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
817 B
Nix
Raw Permalink Normal View History

2023-04-19 07:05:47 -06:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
, libosmoabis
, libosmo-netif
}:
stdenv.mkDerivation rec {
pname = "osmo-bts";
2024-08-07 14:41:13 -06:00
version = "1.8.0";
2023-04-19 07:05:47 -06:00
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-bts";
rev = version;
2024-08-07 14:41:13 -06:00
hash = "sha256-l0iCoiMeBGlJpMvnHUrUfGL3sQCT69D739wiYbnSFeI=";
2023-04-19 07:05:47 -06:00
};
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 = [ ];
2023-04-19 07:05:47 -06:00
platforms = lib.platforms.linux;
};
}