blob: 74f56957059b531b483bde8b86c67e76dc624849 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libosmocore
,
}:
let
inherit (stdenv) isLinux;
in
stdenv.mkDerivation rec {
pname = "osmo-pcu";
version = "1.5.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "osmo-pcu";
rev = version;
hash = "sha256-deFUitxcg0G3dXY13BqgqToJrB2FBEU/YE2yKxyaMvk=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
];
enableParallelBuilding = true;
meta = {
description = "Osmocom Packet control Unit (PCU): Network-side GPRS (RLC/MAC); BTS- or BSC-colocated";
mainProgram = "osmo-pcu";
homepage = "https://osmocom.org/projects/osmopcu";
license = lib.licenses.gpl2Only;
maintainers = [ ];
platforms = lib.platforms.linux;
};
}
|