9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
779 B
Nix
28 lines
779 B
Nix
{ stdenv, fetchurl, libosip, openssl, pkg-config, fetchpatch }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libexosip2";
|
|
version = "4.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/exosip/libeXosip2-${version}.tar.gz";
|
|
sha256 = "17cna8kpc8nk1si419vgr6r42k2lda0rdk50vlxrw8rzg0xp2xrw";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libosip openssl ];
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://sources.debian.net/data/main/libe/libexosip2/4.1.0-2.1/debian/patches/openssl110.patch";
|
|
sha256 = "01q2dax7pwh197mn18r22y38mrsky85mvs9vbkn9fpcilrdayal6";
|
|
})
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
license = licenses.gpl2Plus;
|
|
description = "Library that hides the complexity of using the SIP protocol";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|