2021-04-05 15:23:46 +00:00
|
|
|
{ lib, iproute2, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
iproute2.overrideAttrs (oa: rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "iproute_mptcp";
|
|
|
|
version = "0.95";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "multipath-tcp";
|
|
|
|
repo = "iproute-mptcp";
|
|
|
|
rev = "mptcp_v${version}";
|
|
|
|
sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3";
|
|
|
|
};
|
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
preConfigure = oa.preConfigure + ''
|
2020-09-25 04:45:31 +00:00
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
# We override "patches" to never apply any iproute2 patches:
|
|
|
|
patches = [ ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|