mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
52 lines
890 B
Nix
52 lines
890 B
Nix
{ lib
|
|
, stdenv
|
|
, autoreconfHook
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, libosmocore
|
|
, ortp
|
|
, bctoolbox
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libosmoabis";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "osmocom";
|
|
repo = "libosmo-abis";
|
|
rev = version;
|
|
hash = "sha256-AtBv3llE7TX1tBBE4BQ4gXFs2WNqgjNDkezRpoDoHbg=";
|
|
};
|
|
|
|
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
|
|
markuskowa
|
|
];
|
|
};
|
|
}
|