13 stdenv.mkDerivation rec {
14 pname = "slirp4netns";
17 src = fetchFromGitHub {
18 owner = "rootless-containers";
21 sha256 = "sha256-wVisE4YAK52yfeM2itnBqCmhRKlrKRs0NEppQzZPok8=";
24 nativeBuildInputs = [ autoreconfHook pkg-config ];
26 buildInputs = [ glib libcap libseccomp libslirp ];
28 enableParallelBuilding = true;
31 passthru.tests = { inherit (nixosTests) podman; };
34 homepage = "https://github.com/rootless-containers/slirp4netns";
35 description = "User-mode networking for unprivileged network namespaces";
36 license = licenses.gpl2;
37 maintainers = with maintainers; [ orivej ] ++ teams.podman.members;
38 platforms = platforms.linux;