nixpkgs/pkgs/os-specific/linux/hdparm/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
649 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 = "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 = [ ];
};
})