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 {
|
2018-03-31 16:47:20 +02:00
|
|
|
name = "hdparm-9.56";
|
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";
|
2018-03-31 16:47:20 +02:00
|
|
|
sha256 = "1np42qyhb503khvacnjcl3hb1dqly68gj0a1xip3j5qhbxlyvybg";
|
2017-03-27 02:16:12 +02:00
|
|
|
|
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)
|
2017-03-27 02:16:12 +02:00
|
|
|
'';
|
2008-06-07 14:20:19 +02:00
|
|
|
|
2017-03-27 02:16:12 +02:00
|
|
|
meta = with stdenv.lib; {
|
2008-06-07 14:20:19 +02:00
|
|
|
description = "A tool to get/set ATA/SATA drive parameters under Linux";
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://sourceforge.net/projects/hdparm/;
|
2017-03-27 02:16:12 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.fuuzetsu ];
|
2008-06-07 14:20:19 +02:00
|
|
|
};
|
2017-03-27 02:16:12 +02:00
|
|
|
|
2007-03-19 10:31:44 +01:00
|
|
|
}
|