2008-09-01 13:42:43 +02:00
|
|
|
{stdenv, fetchurl, bison, flex, perl}:
|
|
|
|
|
2009-09-16 00:06:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lm_sensors-3.1.1";
|
2008-09-01 13:42:43 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-09-16 00:06:38 +02:00
|
|
|
url = "http://dl.lm-sensors.org/lm-sensors/releases/${name}.tar.bz2";
|
|
|
|
sha256 = "1vsrs2cl35h2gry03lp0pwbzpw0nbpsbpds5w4mdmx16clm3ynnr";
|
2008-09-01 13:42:43 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [bison flex perl];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray=(PREFIX=$out ETCDIR=$out/etc)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.lm-sensors.org/;
|
|
|
|
description = "Tools for reading hardware sensors";
|
|
|
|
};
|
|
|
|
}
|