2017-10-28 21:09:54 +02:00
|
|
|
{ stdenv, buildPackages, hostPlatform, fetchFromGitHub, perl, buildLinux, ncurses, ... } @ args:
|
2017-05-23 23:52:09 +02:00
|
|
|
|
2018-01-28 19:50:18 +01:00
|
|
|
buildLinux (args // rec {
|
2017-05-23 23:52:09 +02: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 14:26:20 +01:00
|
|
|
extraMeta.platforms = [ "x86_64-linux" ];
|
2017-05-23 23:52:09 +02:00
|
|
|
} // (args.argsOverride or {}))
|