mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
770 B
Nix
26 lines
770 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "acpi";
|
|
version = "1.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/acpiclient/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "01ahldvf0gc29dmbd5zi4rrnrw2i1ajnf30sx2vyaski3jv099fp";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
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 = https://sourceforge.net/projects/acpiclient/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
}
|