forked from mirrors/nixpkgs
pmtools: add version 20071116
This commit is contained in:
parent
14fe075e06
commit
40fe4cf682
25
pkgs/os-specific/linux/pmtools/default.nix
Normal file
25
pkgs/os-specific/linux/pmtools/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pmtools-20071116";
|
||||
|
||||
src = fetchurl {
|
||||
url = "www.lesswatts.org/patches/linux_acpi/${name}.tar.gz";
|
||||
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 = {
|
||||
homepage = "http://www.lesswatts.org/projects/acpi/utilities.php";
|
||||
description = "Linux ACPI utilities";
|
||||
license = "GPLv2";
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
|
@ -6082,6 +6082,8 @@ let
|
|||
|
||||
pmutils = callPackage ../os-specific/linux/pm-utils { };
|
||||
|
||||
pmtools = callPackage ../os-specific/linux/pmtools { };
|
||||
|
||||
policycoreutils = callPackage ../os-specific/linux/policycoreutils { };
|
||||
|
||||
powertop = callPackage ../os-specific/linux/powertop { };
|
||||
|
|
Loading…
Reference in a new issue