2009-03-09 13:53:48 +00:00
|
|
|
{stdenv, fetchurl, ncurses, gettext}:
|
2007-09-23 11:59:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-03-18 20:44:35 +00:00
|
|
|
name = "powertop-1.13";
|
2007-09-23 11:59:54 +01:00
|
|
|
src = fetchurl {
|
2011-03-18 20:44:35 +00:00
|
|
|
url = http://www.lesswatts.org/projects/powertop/download/powertop-1.13.tar.gz;
|
|
|
|
sha256 = "164dqp6msdaxpi2bmvwawasyrf1sfvanlc9ddp97v1wnjh46dj1b";
|
2007-09-23 11:59:54 +01:00
|
|
|
};
|
2011-10-13 10:06:52 +01:00
|
|
|
patches = [
|
|
|
|
./powertop-1.13.patch
|
2011-10-13 14:05:22 +01:00
|
|
|
./inotify_user.patch
|
2011-10-13 14:05:58 +01:00
|
|
|
./modprobe_configs.patch
|
2011-10-13 10:06:52 +01:00
|
|
|
];
|
2009-03-09 13:53:48 +00:00
|
|
|
buildInputs = [ncurses gettext];
|
2011-10-13 09:53:47 +01:00
|
|
|
meta = {
|
|
|
|
description = "Analyze power consumption on Intel-based laptops";
|
|
|
|
license = "GPLv2";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.chaoflow ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2007-09-23 11:59:54 +01:00
|
|
|
}
|