2009-03-09 14:53:48 +01:00
|
|
|
{stdenv, fetchurl, ncurses, gettext}:
|
2007-09-23 12:59:54 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-03-18 21:44:35 +01:00
|
|
|
name = "powertop-1.13";
|
2007-09-23 12:59:54 +02:00
|
|
|
src = fetchurl {
|
2011-03-18 21:44:35 +01:00
|
|
|
url = http://www.lesswatts.org/projects/powertop/download/powertop-1.13.tar.gz;
|
|
|
|
sha256 = "164dqp6msdaxpi2bmvwawasyrf1sfvanlc9ddp97v1wnjh46dj1b";
|
2007-09-23 12:59:54 +02:00
|
|
|
};
|
2011-10-13 11:06:52 +02:00
|
|
|
patches = [
|
|
|
|
./powertop-1.13.patch
|
2011-10-13 15:05:22 +02:00
|
|
|
./inotify_user.patch
|
2011-10-13 15:05:58 +02:00
|
|
|
./modprobe_configs.patch
|
2011-10-13 11:06:52 +02:00
|
|
|
];
|
2009-03-09 14:53:48 +01:00
|
|
|
buildInputs = [ncurses gettext];
|
2011-10-13 10:53:47 +02: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 12:59:54 +02:00
|
|
|
}
|