mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
* Added hdparm.
svn path=/nixpkgs/trunk/; revision=8344
This commit is contained in:
parent
2737cd9a8e
commit
9d81167f77
3 changed files with 18 additions and 2 deletions
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 a new issue