2017-10-28 19:09:54 +00:00
|
|
|
{ stdenv, buildPackages, hostPlatform, fetchFromGitHub, perl, buildLinux, ncurses, ... } @ args:
|
2017-05-23 21:52:09 +00:00
|
|
|
|
2018-01-28 18:50:18 +00:00
|
|
|
buildLinux (args // rec {
|
2017-05-23 21:52:09 +00:00
|
|
|
version = "4.12.2";
|
|
|
|
extraMeta.branch = "4.12-2";
|
|
|
|
|
|
|
|
src =
|
|
|
|
let upstream = fetchFromGitHub {
|
|
|
|
owner = "raphael";
|
|
|
|
repo = "linux-samus";
|
|
|
|
rev = "v${extraMeta.branch}";
|
|
|
|
sha256 = "1dr74i79p8r13522w2ppi8gnjd9bhngc9d2hsn91ji6f5a8fbxx9";
|
|
|
|
}; in "${upstream}/build/linux";
|
|
|
|
|
2018-01-07 13:26:20 +00:00
|
|
|
extraMeta.platforms = [ "x86_64-linux" ];
|
2017-05-23 21:52:09 +00:00
|
|
|
} // (args.argsOverride or {}))
|