2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2007-03-19 09:31:44 +00:00
|
|
|
|
2023-12-22 13:16:01 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-10-24 12:47:11 +00:00
|
|
|
pname = "hdparm";
|
2022-09-09 19:34:14 +00:00
|
|
|
version = "9.65";
|
2007-03-19 09:31:44 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-12-22 13:16:01 +00:00
|
|
|
url = "mirror://sourceforge/hdparm/hdparm-${finalAttrs.version}.tar.gz";
|
2022-09-09 19:34:14 +00:00
|
|
|
sha256 = "sha256-0Ukp+RDQYJMucX6TgkJdR8LnFEI1pTcT1VqU995TWks=";
|
2007-03-19 09:31:44 +00:00
|
|
|
};
|
|
|
|
|
2023-12-22 13:16:01 +00:00
|
|
|
makeFlags = [
|
|
|
|
"sbindir=${placeholder "out"}/sbin"
|
|
|
|
"manprefix=${placeholder "out"}"
|
|
|
|
];
|
2008-06-07 12:20:19 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2008-06-07 12:20:19 +00:00
|
|
|
description = "A tool to get/set ATA/SATA drive parameters under Linux";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/hdparm/";
|
2017-03-27 00:16:12 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
2023-12-19 19:05:15 +00:00
|
|
|
mainProgram = "hdparm";
|
2019-12-05 07:29:48 +00:00
|
|
|
maintainers = [ ];
|
2008-06-07 12:20:19 +00:00
|
|
|
};
|
2023-12-22 13:16:01 +00:00
|
|
|
})
|