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 {
|
2015-07-10 02:30:26 +02:00
|
|
|
name = "hdparm-9.48";
|
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";
|
2015-07-10 02:30:26 +02:00
|
|
|
sha256 = "1vpvlkrksfwx8lxq1p1nk3ddyzgrwy3rgxpn9kslchdh3jkv95yf";
|
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;
|
2014-09-30 12:26:23 +02:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2014-09-30 11:37:14 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2008-06-07 14:20:19 +02:00
|
|
|
};
|
2007-03-19 10:31:44 +01:00
|
|
|
}
|