nixpkgs/pkgs/os-specific/linux/acpi/default.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

21 lines
572 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "acpi-0.09";
src = fetchurl {
url = "http://grahame.angrygoats.net/source/acpi/${name}.tar.gz";
sha256 = "11iwzbm3gcn9ljvxl4cjj9fc1n135hx45rhrsprnnkqppndf3vn1";
};
meta = {
longDescription = ''
Linux ACPI client is a small command-line
program that attempts to replicate the functionality of
the "old" `apm' command on ACPI systems. It includes
battery and thermal information.
'';
homepage = http://grahame.angrygoats.net/acpi.shtml;
license = "GPLv2+";
};
}