mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
24 lines
732 B
Nix
24 lines
732 B
Nix
{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook, SystemConfiguration }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sofia-sip";
|
|
version = "1.13.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "freeswitch";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0b1gq499ksgsi16f5nf3dzbj6s8knwkiak5j810jzdfm7vkm0vvm";
|
|
};
|
|
|
|
buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration;
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
meta = with lib; {
|
|
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
|
|
homepage = "https://github.com/freeswitch/sofia-sip";
|
|
platforms = platforms.unix;
|
|
license = licenses.lgpl2;
|
|
};
|
|
}
|