2012-09-13 19:00:08 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pmtools-20071116";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-14 17:26:46 +00:00
|
|
|
url = "http://www.lesswatts.org/patches/linux_acpi/${name}.tar.gz";
|
2012-09-13 19:00:08 +01:00
|
|
|
sha256 = "91751774976e39f6237efd0326eb35196a9346220b92ad35894a33283e872748";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/pmtools
|
|
|
|
cp acpidump/acpidump acpixtract/acpixtract madt/madt $out/bin/
|
|
|
|
cp README $out/share/pmtools/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-01-14 17:26:46 +00:00
|
|
|
homepage = http://www.lesswatts.org/projects/acpi/utilities.php;
|
2012-09-13 19:00:08 +01:00
|
|
|
description = "Linux ACPI utilities";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-09-13 19:00:08 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|