powertop: 2.7 -> 2.8

Removed patch, since an equivalent fix was made upstream and included in
the 2.8 release.
This commit is contained in:
Louis Taylor
2016-01-13 12:06:33 +00:00
parent cea8ee50c7
commit 6ac550a3e9
2 changed files with 2 additions and 17 deletions
+2 -6
View File
@@ -1,19 +1,15 @@
{ stdenv, fetchurl, gettext, libnl, ncurses, pciutils, pkgconfig, zlib }:
stdenv.mkDerivation rec {
name = "powertop-2.7";
name = "powertop-2.8";
src = fetchurl {
url = "https://01.org/sites/default/files/downloads/powertop/${name}.tar.gz";
sha256 = "1jkqqr3l1x98m7rgin1dgfzxqwj4vciw9lyyq1kl9bdswa818jwd";
sha256 = "0nlwazxbnn0k6q5f5b09wdhw0f194lpzkp3l7vxansqhfczmcyx8";
};
buildInputs = [ gettext libnl ncurses pciutils pkgconfig zlib ];
# Fix --auto-tune bug:
# https://lists.01.org/pipermail/powertop/2014-December/001727.html
patches = [ ./auto-tune.patch ];
postPatch = ''
substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe"
'';