nixpkgs/pkgs/tools/networking/slirp4netns/default.nix
Sascha Grunert f94d457e5c
slirp4netns: 0.3.0 -> 0.4.2
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-11-11 08:58:42 +01:00

28 lines
779 B
Nix

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