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