mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28ac782583
There are many more packages to fix, this is just a start. Rules: * Don't repeat the package name (not always that easy...) * Start with capital letter * Don't end with full stop * Don't start with "The ..." or "A ..." I've also added descriptions to some packages and rewritten others.
24 lines
674 B
Nix
24 lines
674 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "acpi-${version}";
|
|
version = "1.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/acpiclient/${version}/${name}.tar.gz";
|
|
sha256 = "0cawznhkzb51yxa599d1xkw05nklmjrrmd79vmjkkzf4002d4qgd";
|
|
};
|
|
|
|
meta = {
|
|
description = "Show battery status and other ACPI information";
|
|
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://sourceforge.net/projects/acpiclient/;
|
|
license = "GPLv2+";
|
|
};
|
|
}
|