Merge pull request #62981 from teto/mptcp_tools

Mptcp tools
This commit is contained in:
Matthieu Coudron 2019-06-27 09:53:44 +02:00 committed by GitHub
commit 4259498fe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, iproute, fetchFromGitHub }:
iproute.overrideAttrs (oa: rec {
pname = "iproute_mptcp";
version = "0.95";
src = fetchFromGitHub {
owner = "multipath-tcp";
repo = "iproute-mptcp";
rev = "mptcp_v${version}";
sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3";
};
meta = with stdenv.lib; {
homepage = https://github.com/multipath-tcp/iproute-mptcp;
description = "IP-Route extensions for MultiPath TCP";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ teto ];
priority = 2;
};
})

View file

@ -0,0 +1,21 @@
{ stdenv, nettools, fetchFromGitHub }:
nettools.overrideAttrs(oa: rec {
name = "net-tools-mptcp";
version = "0.95";
src = fetchFromGitHub {
owner = "multipath-tcp";
repo = "net-tools";
rev = "mptcp_v${version}";
sha256 = "0i7gr1y699nc7j9qllsx8kicqkpkhw51x4chcmyl5xs06b2mdjri";
};
meta = with stdenv.lib; {
homepage = https://github.com/multipath-tcp/net-tools;
description = "A set of tools for controlling the network subsystem in Linux";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ teto ];
};
})

View file

@ -15205,6 +15205,8 @@ in
iproute = callPackage ../os-specific/linux/iproute { };
iproute_mptcp = callPackage ../os-specific/linux/iproute/mptcp.nix { };
iputils = callPackage ../os-specific/linux/iputils { };
iptables = callPackage ../os-specific/linux/iptables { };
@ -15728,6 +15730,8 @@ in
nettools = if stdenv.isLinux then callPackage ../os-specific/linux/net-tools { }
else unixtools.nettools;
nettools_mptcp = callPackage ../os-specific/linux/net-tools/mptcp.nix { };
nftables = callPackage ../os-specific/linux/nftables { };
noah = callPackage ../os-specific/darwin/noah {