linux-copperhead: 4.12.10.a -> 4.13.a

This commit is contained in:
Tim Steinbach 2017-09-04 11:09:29 -04:00
parent da3640ec56
commit 967077537b
No known key found for this signature in database
GPG key ID: 472BFCCA96BD0EDA

View file

@ -1,15 +1,25 @@
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
let
version = "4.12.10";
revision = "a";
sha256 = "00vm7bc4sfj2qj3yar9hy6qf8m2kmkxmxlf8q908jb1m541pfvpn";
in
with stdenv.lib;
let
version = "4.13";
revision = "a";
sha256 = "1d118yi40yqzfjxdwl00h7alp1z0qq7rk5q14w3hs281ig773aip";
# modVersion needs to be x.y.z, will automatically add .0 if needed
modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
# branchVersion needs to be x.y
branchVersion = concatStrings (intersperse "." (take 2 (splitString "." version)));
modDirVersion = "${modVersion}-hardened";
in
import ./generic.nix (args // {
inherit modDirVersion;
version = "${version}-${revision}";
extraMeta.branch = "4.12";
modDirVersion = "${version}-hardened";
extraMeta.branch = "${branchVersion}";
src = fetchFromGitHub {
inherit sha256;