1{lib, stdenv, fetchurl}:
2
3stdenv.mkDerivation rec {
4 pname = "idle3-tools";
5 version = "0.9.1";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/idle3-tools/idle3-tools-${version}.tgz";
9 sha256 = "00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p";
10 };
11
12 preInstall = ''
13 installFlags=DESTDIR=$out
14 '';
15
16 meta = {
17 homepage = "https://idle3-tools.sourceforge.net/";
18 description = "Tool to get/set the infamous idle3 timer in WD HDDs";
19 license = lib.licenses.gpl3;
20 maintainers = with lib.maintainers; [viric];
21 platforms = with lib.platforms; linux;
22 };
23}