forked from mirrors/nixpkgs
26 lines
691 B
Nix
26 lines
691 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "slirp4netns-${version}";
|
|
version = "0.3.0-alpha.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rootless-containers";
|
|
repo = "slirp4netns";
|
|
rev = "v${version}";
|
|
sha256 = "163nwdwi1qigma1c5svm8llgd8pn4sbkchw67ry3v0gfxa9mxibk";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
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 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|