nixpkgs-suyu/pkgs/os-specific/linux/powertop/default.nix

12 lines
338 B
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses, gettext}:
stdenv.mkDerivation {
name = "powertop-1.13";
src = fetchurl {
url = http://www.lesswatts.org/projects/powertop/download/powertop-1.13.tar.gz;
sha256 = "164dqp6msdaxpi2bmvwawasyrf1sfvanlc9ddp97v1wnjh46dj1b";
};
patches = [./powertop-1.13.patch];
buildInputs = [ncurses gettext];
}