mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
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/'
25 lines
649 B
Nix
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 = [ ];
|
|
};
|
|
})
|