depot/third_party/nixpkgs/pkgs/servers/osmocom/libosmoabis/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

50 lines
878 B
Nix

{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, pkg-config
, libosmocore
, ortp
, bctoolbox
}:
stdenv.mkDerivation rec {
pname = "libosmoabis";
version = "1.6.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "libosmo-abis";
rev = version;
hash = "sha256-So1iyxkLaK3Up+6hetY1TultXF3G3Bg0k1WWrfS+3kA=";
};
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; [
markuskowa
];
};
}