about summary refs log tree commit diff
path: root/pkgs/tools/system/idle3tools
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-03-07 21:40:28 +0100
committerLluís Batlle i Rossell <viric@viric.name>2013-03-07 21:40:28 +0100
commit78e71242d7582a6c02509fbb95781ba71611c2b6 (patch)
tree7660de0ac0d7a57702e49b3197cf9bb3acf5357b /pkgs/tools/system/idle3tools
parentfa1f9385ff9f1b86a568ec89fc2997849cdddd88 (diff)
downloadnixlib-78e71242d7582a6c02509fbb95781ba71611c2b6.tar
nixlib-78e71242d7582a6c02509fbb95781ba71611c2b6.tar.gz
nixlib-78e71242d7582a6c02509fbb95781ba71611c2b6.tar.bz2
nixlib-78e71242d7582a6c02509fbb95781ba71611c2b6.tar.lz
nixlib-78e71242d7582a6c02509fbb95781ba71611c2b6.tar.xz
nixlib-78e71242d7582a6c02509fbb95781ba71611c2b6.tar.zst
nixlib-78e71242d7582a6c02509fbb95781ba71611c2b6.zip
Adding idle3-tools (for WD Green HDDs)
Diffstat (limited to 'pkgs/tools/system/idle3tools')
-rw-r--r--pkgs/tools/system/idle3tools/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/system/idle3tools/default.nix b/pkgs/tools/system/idle3tools/default.nix
new file mode 100644
index 000000000000..2ffff7bed7b4
--- /dev/null
+++ b/pkgs/tools/system/idle3tools/default.nix
@@ -0,0 +1,22 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+  name = "idle3-tools-0.9.1";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/idle3-tools/idle3-tools-0.9.1.tgz";
+    sha256 = "00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p";
+  };
+
+  preInstall = ''
+    installFlags=DESTDIR=$out
+  '';
+
+  meta = {
+    homepage = http://idle3-tools.sourceforge.net/;
+    description = "Tool to get/set the infamous idle3 timer in WD HDDs";
+    license = "GPLv3";
+    maintainers = with stdenv.lib.maintainers; [viric];
+    platforms = with stdenv.lib.platforms; all;
+  };
+}