mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
1e0f5ff99a
also removes 0.93, we want to maintain only the 2 latest upstream mptcp kernels.
27 lines
686 B
Nix
27 lines
686 B
Nix
{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args:
|
|
let
|
|
mptcpVersion = "0.95";
|
|
modDirVersion = "4.19.55";
|
|
in
|
|
buildLinux ({
|
|
version = "${modDirVersion}-mptcp_v${mptcpVersion}";
|
|
inherit modDirVersion;
|
|
|
|
extraMeta = {
|
|
branch = "4.19";
|
|
maintainers = with stdenv.lib.maintainers; [ teto layus ];
|
|
};
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "multipath-tcp";
|
|
repo = "mptcp";
|
|
rev = "v${mptcpVersion}";
|
|
sha256 = "04a66iq5vsiz8mkpszfxmqknz7y4w3lsckrcz6q1syjpk0pdyiyw";
|
|
};
|
|
|
|
structuredExtraConfig = stdenv.lib.mkMerge [
|
|
(import ./mptcp-config.nix { inherit stdenv; })
|
|
structuredExtraConfig
|
|
];
|
|
|
|
} // args)
|