2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-27 00:29:36 +00:00
|
|
|
pname = "hdparm";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "9.60";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-10-27 00:29:36 +00:00
|
|
|
url = "mirror://sourceforge/hdparm/hdparm-${version}.tar.gz";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "1k1mcv7naiacw1y6bdd1adnjfiq1kkx2ivsadjwmlkg4fff775w3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A tool to get/set ATA/SATA drive parameters under Linux";
|
|
|
|
homepage = "https://sourceforge.net/projects/hdparm/";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|