@@ -7,7 +7,7 @@ python27Packages.buildPythonApplication rec {
77 src = fetchFromGitHub {
88 owner = "chipsec";
99 repo = "chipsec";
10− rev = if (version == "1.3.7") then version else "v${version}";
10+ rev = version;
1111 sha256 = "00hwhi5f24y429zazhm77l1pp31q7fmx7ks3sfm6d16v89zbcp9a";
1212 };
1313
@@ -35,8 +35,6 @@ python27Packages.buildPythonApplication rec {
3535 license = licenses.gpl2;
3636 homepage = https://github.com/chipsec/chipsec;
3737 maintainers = with maintainers; [ johnazoidberg ];
38− # This package description is currently only able to build the Linux driver.
39− # But the other functionality should work on all platforms.
40− platforms = platforms.all;
38+ platforms = if withDriver then [ "x86_64-linux" ] else platforms.all;
4139 };
4240}