2021-03-14 17:05:16 +01:00
|
|
|
{ lib, iproute2, fetchFromGitHub }:
|
2019-06-11 16:41:25 +02:00
|
|
|
|
2021-03-14 17:05:16 +01:00
|
|
|
iproute2.overrideAttrs (oa: rec {
|
2019-06-11 16:41:25 +02:00
|
|
|
pname = "iproute_mptcp";
|
|
|
|
version = "0.95";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "multipath-tcp";
|
|
|
|
repo = "iproute-mptcp";
|
|
|
|
rev = "mptcp_v${version}";
|
|
|
|
sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3";
|
|
|
|
};
|
|
|
|
|
2020-09-12 19:14:15 +02:00
|
|
|
preConfigure = ''
|
|
|
|
# Don't try to create /var/lib/arpd:
|
|
|
|
sed -e '/ARPDDIR/d' -i Makefile
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/multipath-tcp/iproute-mptcp";
|
2019-06-11 16:41:25 +02:00
|
|
|
description = "IP-Route extensions for MultiPath TCP";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
priority = 2;
|
|
|
|
};
|
|
|
|
})
|