nixpkgs/pkgs/development/libraries/sofia-sip/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
732 B
Nix
Raw Normal View History

2021-05-10 13:04:03 +00:00
{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook, SystemConfiguration }:
stdenv.mkDerivation rec {
pname = "sofia-sip";
2023-02-25 12:00:06 +00:00
version = "1.13.14";
src = fetchFromGitHub {
owner = "freeswitch";
repo = pname;
rev = "v${version}";
2023-02-25 12:00:06 +00:00
sha256 = "sha256-L1OXmZCVWDPILhooIzw/bYK69zKwzkBluV9Tlf0vw4g=";
};
2021-05-10 13:04:03 +00:00
buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration;
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = with lib; {
2018-10-27 13:29:37 +00:00
description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification";
homepage = "https://github.com/freeswitch/sofia-sip";
2021-05-10 13:04:03 +00:00
platforms = platforms.unix;
2018-10-27 13:29:37 +00:00
license = licenses.lgpl2;
};
}