git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #62981 from teto/mptcp_tools

Mptcp tools

commit4259498fe6579a8374d926d529e0fae17cef742b authorMatthieu Coudron <mattator@gmail.com> dateThu 27 Jun 2019, 09:53 (7 years ago) parent67cca52e775f2d
3 files changed+47
pkgs/os-specific/linux/iproute/mptcp.nix+22 pkgs/os-specific/linux/net-tools/mptcp.nix+21 pkgs/top-level/all-packages.nix+4
pkgs/os-specific/linux/iproute/mptcp.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, iproute, fetchFromGitHub }:
2+
3+iproute.overrideAttrs (oa: rec {
4+ pname = "iproute_mptcp";
5+ version = "0.95";
6+
7+ src = fetchFromGitHub {
8+ owner = "multipath-tcp";
9+ repo = "iproute-mptcp";
10+ rev = "mptcp_v${version}";
11+ sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3";
12+ };
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://github.com/multipath-tcp/iproute-mptcp;
16+ description = "IP-Route extensions for MultiPath TCP";
17+ license = licenses.gpl2;
18+ platforms = platforms.linux;
19+ maintainers = with maintainers; [ teto ];
20+ priority = 2;
21+ };
22+})
pkgs/os-specific/linux/net-tools/mptcp.nixnew file+21
@@ -0,0 +1,21 @@
1+{ stdenv, nettools, fetchFromGitHub }:
2+
3+nettools.overrideAttrs(oa: rec {
4+ name = "net-tools-mptcp";
5+ version = "0.95";
6+
7+ src = fetchFromGitHub {
8+ owner = "multipath-tcp";
9+ repo = "net-tools";
10+ rev = "mptcp_v${version}";
11+ sha256 = "0i7gr1y699nc7j9qllsx8kicqkpkhw51x4chcmyl5xs06b2mdjri";
12+ };
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://github.com/multipath-tcp/net-tools;
16+ description = "A set of tools for controlling the network subsystem in Linux";
17+ license = licenses.gpl2Plus;
18+ platforms = platforms.linux;
19+ maintainers = with maintainers; [ teto ];
20+ };
21+})
pkgs/top-level/all-packages.nix+4
@@ -15205,6 +15205,8 @@ in
1520515205
1520615206 iproute = callPackage ../os-specific/linux/iproute { };
1520715207
15208+ iproute_mptcp = callPackage ../os-specific/linux/iproute/mptcp.nix { };
15209+
1520815210 iputils = callPackage ../os-specific/linux/iputils { };
1520915211
1521015212 iptables = callPackage ../os-specific/linux/iptables { };
@@ -15728,6 +15730,8 @@ in
1572815730 nettools = if stdenv.isLinux then callPackage ../os-specific/linux/net-tools { }
1572915731 else unixtools.nettools;
1573015732
15733+ nettools_mptcp = callPackage ../os-specific/linux/net-tools/mptcp.nix { };
15734+
1573115735 nftables = callPackage ../os-specific/linux/nftables { };
1573215736
1573315737 noah = callPackage ../os-specific/darwin/noah {