libslirp: init at 4.2.0 (#82905)
This commit is contained in:
parent
e758e95c1d
commit
e57d07f2ae
32
pkgs/development/libraries/libslirp/default.nix
Normal file
32
pkgs/development/libraries/libslirp/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user