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

23 lines
597 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2015-07-10 00:30:26 +00:00
name = "hdparm-9.48";
src = fetchurl {
url = "mirror://sourceforge/hdparm/${name}.tar.gz";
2015-07-10 00:30:26 +00:00
sha256 = "1vpvlkrksfwx8lxq1p1nk3ddyzgrwy3rgxpn9kslchdh3jkv95yf";
};
preBuild = ''
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
'';
meta = {
description = "A tool to get/set ATA/SATA drive parameters under Linux";
homepage = http://sourceforge.net/projects/hdparm/;
platforms = stdenv.lib.platforms.linux;
2014-09-30 10:26:23 +00:00
license = stdenv.lib.licenses.bsd2;
2014-09-30 09:37:14 +00:00
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}