gnomeExtensions.battery-status: init at v6
Add the Battery Status GNOME Shell extension.
This commit is contained in:
parent
8d0c8d21f0
commit
4704514dbc
2 changed files with 29 additions and 1 deletions
27
pkgs/desktops/gnome-3/extensions/battery-status/default.nix
Normal file
27
pkgs/desktops/gnome-3/extensions/battery-status/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-shell-extension-battery-status-${version}";
|
||||
version = "6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "milliburn";
|
||||
repo = "gnome-shell-extension-battery_status";
|
||||
rev = "v${version}";
|
||||
sha256 = "1w83h863mzffjnmk322xq90qf3y9dzay1w9yw5r0qnbsq1ljl8p4";
|
||||
};
|
||||
|
||||
uuid = "battery_status@milliburn.github.com";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/gnome-shell/extensions
|
||||
cp -r ${uuid} $out/share/gnome-shell/extensions/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Configurable lightweight battery charge indicator and autohider";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ jonafato ];
|
||||
homepage = https://github.com/milliburn/gnome-shell-extension-battery_status;
|
||||
};
|
||||
}
|
|
@ -5755,7 +5755,7 @@ with pkgs;
|
|||
compcert = callPackage ../development/compilers/compcert { };
|
||||
|
||||
cpp-gsl = callPackage ../development/libraries/cpp-gsl { };
|
||||
|
||||
|
||||
# Users installing via `nix-env` will likely be using the REPL,
|
||||
# which has a hard dependency on Z3, so make sure it is available.
|
||||
cryptol = haskellPackages.cryptol.overrideDerivation (oldAttrs: {
|
||||
|
@ -19101,6 +19101,7 @@ with pkgs;
|
|||
|
||||
gnomeExtensions = {
|
||||
appindicator = callPackage ../desktops/gnome-3/extensions/appindicator { };
|
||||
battery-status = callPackage ../desktops/gnome-3/extensions/battery-status { };
|
||||
caffeine = callPackage ../desktops/gnome-3/extensions/caffeine { };
|
||||
clipboard-indicator = callPackage ../desktops/gnome-3/extensions/clipboard-indicator { };
|
||||
dash-to-dock = callPackage ../desktops/gnome-3/extensions/dash-to-dock { };
|
||||
|
|
Loading…
Reference in a new issue