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