diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/system/idle3tools/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/system/idle3tools/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/system/idle3tools/default.nix b/nixpkgs/pkgs/tools/system/idle3tools/default.nix new file mode 100644 index 000000000000..fa5234d8cbc3 --- /dev/null +++ b/nixpkgs/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 = stdenv.lib.licenses.gpl3; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} |