3
0
Fork 0
forked from mirrors/nixpkgs
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.

25 lines
583 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
2020-10-24 13:47:11 +01:00
pname = "hdparm";
2022-02-11 22:06:31 +00:00
version = "9.63";
src = fetchurl {
2020-10-24 13:47:11 +01:00
url = "mirror://sourceforge/hdparm/hdparm-${version}.tar.gz";
2022-02-11 22:06:31 +00:00
sha256 = "sha256-cHhd6uu6WHeonBI1aLQd7pkNpV/FFCDxP2CaEHKJlpE=";
};
preBuild = ''
makeFlagsArray=(sbindir=$out/sbin manprefix=$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;
maintainers = [ ];
};
}