mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Adding idle3-tools (for WD Green HDDs)
This commit is contained in:
parent
fa1f9385ff
commit
78e71242d7
22
pkgs/tools/system/idle3tools/default.nix
Normal file
22
pkgs/tools/system/idle3tools/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -961,6 +961,8 @@ let
|
|||
|
||||
idutils = callPackage ../tools/misc/idutils { };
|
||||
|
||||
idle3tools = callPackage ../tools/system/idle3tools { };
|
||||
|
||||
iftop = callPackage ../tools/networking/iftop { };
|
||||
|
||||
imapproxy = callPackage ../tools/networking/imapproxy { };
|
||||
|
|
Loading…
Reference in a new issue