2007-03-19 09:31:44 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-06-07 13:20:19 +01:00
|
|
|
name = "hdparm-8.7";
|
2007-03-19 09:31:44 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-06-07 13:20:19 +01:00
|
|
|
url = mirror://sourceforge/hdparm/hdparm-8.7.tar.gz;
|
|
|
|
sha256 = "1gbyywsam769fdsgcy2clkfik9h2drad78h1xnh55b9c6fjlacmq";
|
2007-03-19 09:31:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = "
|
|
|
|
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
|
|
|
|
";
|
2008-06-07 13:20:19 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to get/set ATA/SATA drive parameters under Linux";
|
|
|
|
homepage = http://sourceforge.net/projects/hdparm/;
|
|
|
|
};
|
2007-03-19 09:31:44 +00:00
|
|
|
}
|