libosmoabis: init at 1.4.0

This commit is contained in:
Janik H 2023-04-18 19:10:34 +02:00
parent 5bff386ace
commit 7de385c2d2
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, pkg-config
, libosmocore
, ortp
, bctoolbox
}:
stdenv.mkDerivation rec {
pname = "libosmoabis";
version = "1.4.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "libosmo-abis";
rev = version;
hash = "sha256-RKJis0Ur3Y0LximNQl+hm6GENg8t2E1S++2c+63D2pQ=";
};
configureFlags = [ "enable_dahdi=false" ];
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libosmocore
ortp
bctoolbox
];
enableParallelBuilding = true;
meta = with lib; {
description = "Osmocom Abis interface library";
homepage = "https://github.com/osmocom/libosmo-abis";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ janik ];
};
}

View File

@ -22002,6 +22002,8 @@ with pkgs;
libosmium = callPackage ../development/libraries/libosmium { };
libosmoabis = callPackage ../servers/osmocom/libosmoabis { };
libosmocore = callPackage ../servers/osmocom/libosmocore { };
libosmscout = libsForQt5.callPackage ../development/libraries/libosmscout { };