diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2016-10-13 22:01:59 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-10-14 00:02:30 +0200 |
commit | f30f7d0cff3c4e12f26be6e9030289629ce18825 (patch) | |
tree | 0ec75030502799374db59dda222f0f575f9e8b33 /pkgs/os-specific/linux/powertop | |
parent | c66124e9b744d17073eb3c70a169147a93b00f34 (diff) | |
download | nixpkgs-f30f7d0cff3c4e12f26be6e9030289629ce18825.tar nixpkgs-f30f7d0cff3c4e12f26be6e9030289629ce18825.tar.gz nixpkgs-f30f7d0cff3c4e12f26be6e9030289629ce18825.tar.bz2 nixpkgs-f30f7d0cff3c4e12f26be6e9030289629ce18825.tar.lz nixpkgs-f30f7d0cff3c4e12f26be6e9030289629ce18825.tar.xz nixpkgs-f30f7d0cff3c4e12f26be6e9030289629ce18825.tar.zst nixpkgs-f30f7d0cff3c4e12f26be6e9030289629ce18825.zip |
powertop: add homepage, cleanup
Diffstat (limited to 'pkgs/os-specific/linux/powertop')
-rw-r--r-- | pkgs/os-specific/linux/powertop/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix index 59083a8b040..4d81126af44 100644 --- a/pkgs/os-specific/linux/powertop/default.nix +++ b/pkgs/os-specific/linux/powertop/default.nix @@ -8,17 +8,19 @@ stdenv.mkDerivation rec { sha256 = "0nlwazxbnn0k6q5f5b09wdhw0f194lpzkp3l7vxansqhfczmcyx8"; }; - buildInputs = [ gettext libnl ncurses pciutils pkgconfig zlib ]; + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ gettext libnl ncurses pciutils zlib ]; postPatch = '' substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe" substituteInPlace src/calibrate/calibrate.cpp --replace "/usr/bin/xset" "xset" ''; - meta = { + meta = with stdenv.lib; { description = "Analyze power consumption on Intel-based laptops"; - license = stdenv.lib.licenses.gpl2; - maintainers = [ stdenv.lib.maintainers.chaoflow ]; - platforms = stdenv.lib.platforms.linux; + homepage = https://01.org/powertop; + license = licenses.gpl2; + maintainers = with maintainers; [ chaoflow fpletz ]; + platforms = platforms.linux; }; } |