Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 23 lines 732 B view raw
1{ lib, stdenv, fetchFromGitHub, glib, openssl, pkg-config, autoreconfHook, SystemConfiguration }: 2 3stdenv.mkDerivation rec { 4 pname = "sofia-sip"; 5 version = "1.13.17"; 6 7 src = fetchFromGitHub { 8 owner = "freeswitch"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-7QmK2UxEO5lC0KBDWB3bwKTy0Nc7WrdTLjoQYzezoaY="; 12 }; 13 14 buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration; 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 17 meta = with lib; { 18 description = "Open-source SIP User-Agent library, compliant with the IETF RFC3261 specification"; 19 homepage = "https://github.com/freeswitch/sofia-sip"; 20 platforms = platforms.unix; 21 license = licenses.lgpl2; 22 }; 23}