libslirp: 4.2.0 -> 4.3.0

https://gitlab.freedesktop.org/slirp/libslirp/-/releases/v4.3.0
This commit is contained in:
zowoq 2020-04-24 10:13:31 +10:00
parent 324dd67013
commit 3f2fdbb6f9

View File

@ -8,20 +8,24 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libslirp"; pname = "libslirp";
version = "4.2.0"; version = "4.3.0";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.freedesktop.org"; domain = "gitlab.freedesktop.org";
owner = "slirp"; owner = "slirp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1qk513fgfh4hwb1ajjmvg9m1bl97m3n731ymxqsh1c3fj468a2am"; sha256 = "1hajbdwx20a48hp8kv6jqbjvnzjvcdqmbjfsymzy2xa80idqkfab";
}; };
nativeBuildInputs = [ meson ninja pkg-config ]; nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ glib ]; buildInputs = [ glib ];
postPatch = ''
echo ${version} > .tarball-version
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "General purpose TCP-IP emulator"; description = "General purpose TCP-IP emulator";
homepage = "https://gitlab.freedesktop.org/slirp/libslirp"; homepage = "https://gitlab.freedesktop.org/slirp/libslirp";