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