1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/os-specific/linux/powertop/default.nix

20 lines
581 B
Nix
Raw Normal View History

2012-09-07 07:27:32 -04:00
{ stdenv, fetchurl, gettext, libnl, ncurses, pciutils, pkgconfig, zlib }:
stdenv.mkDerivation rec {
2013-02-02 05:07:14 -05:00
name = "powertop-2.2";
2013-01-15 12:43:53 -05:00
src = fetchurl {
2012-09-07 07:27:32 -04:00
url = "https://01.org/powertop/sites/default/files/downloads/${name}.tar.gz";
2013-02-02 05:07:14 -05:00
sha256 = "0a5haxawcjrlwwxx4j5kd4ad05gjmcr13v8gswfwfxcn7fyf2f8k";
};
2012-09-07 07:27:32 -04:00
buildInputs = [ gettext libnl ncurses pciutils pkgconfig zlib ];
meta = {
description = "Analyze power consumption on Intel-based laptops";
license = "GPLv2";
maintainers = [ stdenv.lib.maintainers.chaoflow ];
platforms = stdenv.lib.platforms.linux;
};
}