mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
61a7f5f90d
My last iproute2 update (247aed0528
) broke the build due to the new
patch [0].
Reported-by: Sergei Trofimovich <slyich@gmail.com>
[0]: https://github.com/NixOS/nixpkgs/pull/136701#issuecomment-924920542
30 lines
741 B
Nix
30 lines
741 B
Nix
{ lib, iproute2, fetchFromGitHub }:
|
|
|
|
iproute2.overrideAttrs (oa: rec {
|
|
pname = "iproute_mptcp";
|
|
version = "0.95";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "multipath-tcp";
|
|
repo = "iproute-mptcp";
|
|
rev = "mptcp_v${version}";
|
|
sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3";
|
|
};
|
|
|
|
preConfigure = oa.preConfigure + ''
|
|
patchShebangs configure
|
|
'';
|
|
|
|
# We override "patches" to never apply any iproute2 patches:
|
|
patches = [ ];
|
|
|
|
meta = with lib; {
|
|
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;
|
|
};
|
|
})
|