2021-03-14 16:05:16 +00:00
|
|
|
{ lib, iproute2, fetchFromGitHub }:
|
2019-06-11 14:41:25 +00:00
|
|
|
|
2021-03-14 16:05:16 +00:00
|
|
|
iproute2.overrideAttrs (oa: rec {
|
2019-06-11 14:41:25 +00:00
|
|
|
pname = "iproute_mptcp";
|
|
|
|
version = "0.95";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "multipath-tcp";
|
|
|
|
repo = "iproute-mptcp";
|
|
|
|
rev = "mptcp_v${version}";
|
|
|
|
sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3";
|
|
|
|
};
|
|
|
|
|
2021-09-24 10:26:27 +00:00
|
|
|
preConfigure = oa.preConfigure + ''
|
2020-09-12 17:14:15 +00:00
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
|
2021-09-24 10:26:27 +00:00
|
|
|
# We override "patches" to never apply any iproute2 patches:
|
|
|
|
patches = [ ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/multipath-tcp/iproute-mptcp";
|
2019-06-11 14:41:25 +00:00
|
|
|
description = "IP-Route extensions for MultiPath TCP";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
priority = 2;
|
|
|
|
};
|
|
|
|
})
|