Update acpi, fix homepage, download from sourceforge.

This commit is contained in:
Vladimír Čunát 2013-01-14 11:34:19 +01:00
parent 29aa4af796
commit e2521650b4

View File

@ -1,11 +1,12 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "acpi-1.5"; name = "acpi-${version}";
version = "1.6";
src = fetchurl { src = fetchurl {
url = "http://ftp.de.debian.org/debian/pool/main/a/acpi/acpi_1.5.orig.tar.gz"; url = "mirror://sf/acpiclient/${version}/${name}.tar.gz";
sha256 = "1pb020j627ldjm1askqfzp6cjxrs79ail8svihanv7pgbg5r3zsp"; sha256 = "0cawznhkzb51yxa599d1xkw05nklmjrrmd79vmjkkzf4002d4qgd";
}; };
meta = { meta = {
@ -15,7 +16,7 @@ stdenv.mkDerivation rec {
the "old" `apm' command on ACPI systems. It includes the "old" `apm' command on ACPI systems. It includes
battery and thermal information. battery and thermal information.
''; '';
homepage = http://grahame.angrygoats.net/acpi.shtml; homepage = http://sourceforge.net/projects/acpiclient/;
license = "GPLv2+"; license = "GPLv2+";
}; };
} }