2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2013-03-07 20:40:28 +00:00
|
|
|
|
2021-07-27 14:21:24 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "idle3-tools";
|
|
|
|
version = "0.9.1";
|
2013-03-07 20:40:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-27 14:21:24 +00:00
|
|
|
url = "mirror://sourceforge/idle3-tools/idle3-tools-${version}.tgz";
|
2013-03-07 20:40:28 +00:00
|
|
|
sha256 = "00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
installFlags=DESTDIR=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://idle3-tools.sourceforge.net/";
|
2013-03-07 20:40:28 +00:00
|
|
|
description = "Tool to get/set the infamous idle3 timer in WD HDDs";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [viric];
|
|
|
|
platforms = with lib.platforms; linux;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "idle3ctl";
|
2013-03-07 20:40:28 +00:00
|
|
|
};
|
|
|
|
}
|