summary refs log tree commit diff
path: root/pkgs/os-specific/linux/powertop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/powertop/default.nix')
-rw-r--r--pkgs/os-specific/linux/powertop/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix
new file mode 100644
index 00000000000..40268e123dd
--- /dev/null
+++ b/pkgs/os-specific/linux/powertop/default.nix
@@ -0,0 +1,11 @@
+{stdenv, fetchurl, ncurses}:
+
+stdenv.mkDerivation {
+  name = "powertop-1.8";
+  src = fetchurl {
+    url = http://linuxpowertop.org/download/powertop-1.8.tar.gz;
+    sha256 = "0fmdbg00yfzhw5ldc5g6il602lvpmhi9dri4l0pc2ndgwm3fl9bk";
+  };
+  patches = [./powertop-1.8.patch];
+  buildInputs = [ncurses];
+}