* Added hdparm.
svn path=/nixpkgs/trunk/; revision=8344
This commit is contained in:
parent
2737cd9a8e
commit
9d81167f77
14
pkgs/os-specific/linux/hdparm/default.nix
Normal file
14
pkgs/os-specific/linux/hdparm/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "hdparm-6.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/hdparm/hdparm-6.9.tar.gz;
|
||||
sha256 = "01pyb9jmcv9nl1ig39s1i58fwgijqhjc5q1vxscbw0bd563fvrna";
|
||||
};
|
||||
|
||||
preBuild = "
|
||||
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
|
||||
";
|
||||
}
|
@ -11,6 +11,4 @@ stdenv.mkDerivation {
|
||||
preBuild = "
|
||||
makeFlagsArray=(PREFIX=$out)
|
||||
";
|
||||
|
||||
#buildInputs = [bison flex openssl];
|
||||
}
|
||||
|
@ -2201,6 +2201,10 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
hdparm = import ../os-specific/linux/hdparm {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
hotplug = import ../os-specific/linux/hotplug {
|
||||
inherit fetchurl stdenv bash gnused coreutils utillinux gnugrep module_init_tools;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user