1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 10:56:56 +00:00
nixpkgs/pkgs/tools/networking/slirp4netns/default.nix
Sascha Grunert 0e182006c1
slirp4netns: v0.4.2 -> v0.4.3
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-12-18 09:09:11 +01:00

28 lines
779 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, libcap, libseccomp }:
stdenv.mkDerivation rec {
pname = "slirp4netns";
version = "0.4.3";
src = fetchFromGitHub {
owner = "rootless-containers";
repo = "slirp4netns";
rev = "v${version}";
sha256 = "0g7apfw33wkxxj7qwvlnnhv7qy13s1gkbmvns8612c0yfv9jrsvq";
};
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;
};
}