depot/third_party/nixpkgs/pkgs/tools/system/idle3tools/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

23 lines
592 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "idle3-tools";
version = "0.9.1";
src = fetchurl {
url = "mirror://sourceforge/idle3-tools/idle3-tools-${version}.tgz";
sha256 = "00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p";
};
preInstall = ''
installFlags=DESTDIR=$out
'';
meta = {
homepage = "https://idle3-tools.sourceforge.net/";
description = "Tool to get/set the infamous idle3 timer in WD HDDs";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; linux;
};
}