2012-03-09 20:24:54 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2007-03-19 10:31:44 +01:00
|
|
|
|
2012-03-09 20:24:54 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hdparm-9.39";
|
2007-03-19 10:31:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-09 20:24:54 +01:00
|
|
|
url = "mirror://sourceforge/hdparm/${name}.tar.gz";
|
|
|
|
sha256 = "1siw9c2hrsck47jr9wpip9n677g31qd34y8whkq9dai68npm1mbj";
|
2007-03-19 10:31:44 +01:00
|
|
|
};
|
|
|
|
|
2012-03-09 20:24:54 +01:00
|
|
|
preBuild = ''
|
2007-03-19 10:31:44 +01:00
|
|
|
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
|
2012-03-09 20:24:54 +01:00
|
|
|
'';
|
2008-06-07 14:20:19 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to get/set ATA/SATA drive parameters under Linux";
|
|
|
|
homepage = http://sourceforge.net/projects/hdparm/;
|
2012-03-09 20:24:54 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-06-07 14:20:19 +02:00
|
|
|
};
|
2007-03-19 10:31:44 +01:00
|
|
|
}
|