Merge pull request #67692 from saschagrunert/slirp4netns

slirp4netns: 0.3.0 -> 0.4.2
This commit is contained in:
Peter Hoeg 2019-11-13 09:21:23 +08:00 committed by GitHub
commit 8fa83bda25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,19 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib }:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, libcap, libseccomp }:
stdenv.mkDerivation rec {
pname = "slirp4netns";
version = "0.3.0";
version = "0.4.2";
src = fetchFromGitHub {
owner = "rootless-containers";
repo = "slirp4netns";
rev = "v${version}";
sha256 = "079m44l4l0p1c2sbkpzsy6zpv94glwmrc72ip2djcscnaq4b1763";
sha256 = "0i0rhb7n2i2nmbvdqdx83vi3kw4r17p7p099sr857cr3f3c221qx";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib ];
buildInputs = [ libcap libseccomp glib ];
enableParallelBuilding = true;
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/rootless-containers/slirp4netns;
description = "User-mode networking for unprivileged network namespaces";
license = licenses.gpl2;
maintainers = with maintainers; [ orivej ];
maintainers = with maintainers; [ orivej saschagrunert ];
platforms = platforms.linux;
};
}