nixpkgs/pkgs/os-specific/linux/hdparm/default.nix
R. RyanTM 2252dc2585 hdparm: 9.56 -> 9.58 (#50098)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/hdparm/versions
2018-11-09 22:38:48 -05:00

25 lines
580 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "hdparm-9.58";
src = fetchurl {
url = "mirror://sourceforge/hdparm/${name}.tar.gz";
sha256 = "03z1qm8zbgpxagk3994lvp24yqsshjibkwg05v9p3q1w7y48xrws";
};
preBuild = ''
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
'';
meta = with stdenv.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 = [ maintainers.fuuzetsu ];
};
}