nixpkgs/pkgs/os-specific/linux/hdparm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
651 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation (finalAttrs: {
2020-10-24 12:47:11 +00:00
pname = "hdparm";
2022-09-09 19:34:14 +00:00
version = "9.65";
src = fetchurl {
url = "mirror://sourceforge/hdparm/hdparm-${finalAttrs.version}.tar.gz";
2022-09-09 19:34:14 +00:00
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 = [ ];
};
})