nixpkgs/pkgs/os-specific/linux/hdparm/default.nix
Sefa Eyeoglu 941f937481
hdparm: general improvements
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-12-22 14:16:01 +01:00

26 lines
651 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation (finalAttrs: {
pname = "hdparm";
version = "9.65";
src = fetchurl {
url = "mirror://sourceforge/hdparm/hdparm-${finalAttrs.version}.tar.gz";
sha256 = "sha256-0Ukp+RDQYJMucX6TgkJdR8LnFEI1pTcT1VqU995TWks=";
};
makeFlags = [
"sbindir=${placeholder "out"}/sbin"
"manprefix=${placeholder "out"}"
];
meta = with lib; {
description = "A tool to get/set ATA/SATA drive parameters under Linux";
homepage = "https://sourceforge.net/projects/hdparm/";
platforms = platforms.linux;
license = licenses.bsd2;
mainProgram = "hdparm";
maintainers = [ ];
};
})