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