mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
48 lines
817 B
Nix
48 lines
817 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, libosmocore
|
|
, libosmoabis
|
|
, libosmo-netif
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "osmo-bts";
|
|
version = "1.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "osmocom";
|
|
repo = "osmo-bts";
|
|
rev = version;
|
|
hash = "sha256-dje+B1jobsVdQZYyIkLTZzez4HQirCcjyosTQCo/v64=";
|
|
};
|
|
|
|
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 = [ ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|