1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/os-specific/linux/hdparm/default.nix
Eelco Dolstra 6bc6c61f01 * hdparm updated to 9.39.
svn path=/nixpkgs/trunk/; revision=32963
2012-03-09 19:24:54 +00:00

21 lines
496 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "hdparm-9.39";
src = fetchurl {
url = "mirror://sourceforge/hdparm/${name}.tar.gz";
sha256 = "1siw9c2hrsck47jr9wpip9n677g31qd34y8whkq9dai68npm1mbj";
};
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;
};
}