libslirp: init at 4.2.0 (#82905)

This commit is contained in:
zowoq 2020-03-19 17:46:14 +10:00 committed by GitHub
parent e758e95c1d
commit e57d07f2ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, glib
}:
stdenv.mkDerivation rec {
pname = "libslirp";
version = "4.2.0";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "slirp";
repo = pname;
rev = "v${version}";
sha256 = "1qk513fgfh4hwb1ajjmvg9m1bl97m3n731ymxqsh1c3fj468a2am";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ glib ];
meta = with stdenv.lib; {
description = "General purpose TCP-IP emulator";
homepage = "https://gitlab.freedesktop.org/slirp/libslirp";
license = licenses.bsd3;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}

View File

@ -13111,6 +13111,8 @@ in
libsigsegv = callPackage ../development/libraries/libsigsegv { };
libslirp = callPackage ../development/libraries/libslirp { };
libsndfile = callPackage ../development/libraries/libsndfile {
inherit (darwin.apple_sdk.frameworks) Carbon AudioToolbox;
};