2017-04-29 11:38:59 +01:00
|
|
|
{ stdenv, fetchurl, libosip, openssl, pkgconfig, fetchpatch }:
|
2011-01-13 20:49:58 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libexosip2";
|
2017-03-12 19:44:58 +00:00
|
|
|
version = "4.1.0";
|
2017-04-29 11:38:59 +01:00
|
|
|
|
2017-03-12 19:44:58 +00:00
|
|
|
src = fetchurl {
|
2013-07-14 03:23:06 +01:00
|
|
|
url = "mirror://savannah/exosip/libeXosip2-${version}.tar.gz";
|
2017-03-12 19:44:58 +00:00
|
|
|
sha256 = "17cna8kpc8nk1si419vgr6r42k2lda0rdk50vlxrw8rzg0xp2xrw";
|
2011-01-13 20:49:58 +00:00
|
|
|
};
|
2017-04-29 11:38:59 +01:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libosip openssl ];
|
2017-04-29 11:38:59 +01:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://sources.debian.net/data/main/libe/libexosip2/4.1.0-2.1/debian/patches/openssl110.patch";
|
|
|
|
sha256 = "01q2dax7pwh197mn18r22y38mrsky85mvs9vbkn9fpcilrdayal6";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-03-12 19:44:58 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.gpl2Plus;
|
2011-01-13 20:49:58 +00:00
|
|
|
description = "Library that hides the complexity of using the SIP protocol";
|
2017-04-29 11:38:59 +01:00
|
|
|
platforms = platforms.linux;
|
2011-01-13 20:49:58 +00:00
|
|
|
};
|
|
|
|
}
|