2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2007-03-19 10:31:44 +01:00
|
|
|
|
2012-03-09 20:24:54 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-10-24 14:47:11 +02:00
|
|
|
pname = "hdparm";
|
2020-11-28 01:27:56 +01:00
|
|
|
version = "9.60";
|
2007-03-19 10:31:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-10-24 14:47:11 +02:00
|
|
|
url = "mirror://sourceforge/hdparm/hdparm-${version}.tar.gz";
|
2020-11-28 01:27:56 +01:00
|
|
|
sha256 = "1k1mcv7naiacw1y6bdd1adnjfiq1kkx2ivsadjwmlkg4fff775w3";
|
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
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2008-06-07 14:20:19 +02:00
|
|
|
description = "A tool to get/set ATA/SATA drive parameters under Linux";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/hdparm/";
|
2017-03-27 02:16:12 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
2019-12-05 08:29:48 +01:00
|
|
|
maintainers = [ ];
|
2008-06-07 14:20:19 +02:00
|
|
|
};
|
2017-03-27 02:16:12 +02:00
|
|
|
|
2007-03-19 10:31:44 +01:00
|
|
|
}
|