1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/slirp4netns/default.nix

28 lines
727 B
Nix
Raw Normal View History

2019-07-25 04:29:55 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib }:
stdenv.mkDerivation rec {
pname = "slirp4netns";
2019-07-25 04:29:55 +01:00
version = "0.3.0";
src = fetchFromGitHub {
owner = "rootless-containers";
repo = "slirp4netns";
rev = "v${version}";
2019-07-25 04:29:55 +01:00
sha256 = "079m44l4l0p1c2sbkpzsy6zpv94glwmrc72ip2djcscnaq4b1763";
};
2019-07-25 04:29:55 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ 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 ];
platforms = platforms.linux;
};
}