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