hibernate-status: init at 1.10
This commit is contained in:
parent
72ea6f6631
commit
0103db92cd
2 changed files with 8 additions and 7 deletions
|
@ -15,7 +15,7 @@ rec {
|
|||
|
||||
gnomeExtensions = (super.gnomeExtensions or {}) // {
|
||||
hide-activities = callPackage ./pkgs/gnome-shell-extensions/hide-activities.nix {};
|
||||
hibernate-button = callPackage ./pkgs/gnome-shell-extensions/hibernate-button.nix {};
|
||||
hibernate-status = callPackage ./pkgs/gnome-shell-extensions/hibernate-status.nix {};
|
||||
noannoyance = callPackage ./pkgs/gnome-shell-extensions/noannoyance.nix {};
|
||||
bluetooth-quick-connect = callPackage ./pkgs/gnome-shell-extensions/bluetooth-quick-connect.nix { };
|
||||
};
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{ stdenv, fetchzip }:
|
||||
{ stdenv, lib, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hibernate-button";
|
||||
version = "20";
|
||||
pname = "hibernate-status";
|
||||
version = "1.10";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://extensions.gnome.org/extension-data/hibernate-statusdromi.v${version}.shell-extension.zip";
|
||||
sha256 = "1106s8pimsamfhjxwnyjb5hvcz0jxf7k416d9w5m71n1i0sgfnnn";
|
||||
url = "https://github.com/arelange/gnome-shell-extension-hibernate-status/archive/refs/tags/v${version}.zip";
|
||||
sha256 = "0r6jn5pkyw7km32migb86xdq32w2vybbbrspd4wc0dzgadk2ii7w";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
@ -15,12 +15,13 @@ stdenv.mkDerivation rec {
|
|||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
cd gnome-shell-extension-hibernate-status-${version}
|
||||
mkdir -p $out/share/gnome-shell/extensions/${uuid}
|
||||
cp confirmDialog.js extension.js metadata.json prefs.js $out/share/gnome-shell/extensions/${uuid}
|
||||
cp -r schemas $out/share/gnome-shell/extensions/${uuid}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Gnome Shell extension that adds a hibernate/hybrid suspend button in Status menu";
|
||||
homepage = "https://github.com/arelange/gnome-shell-extension-hibernate-status";
|
||||
license = licenses.gpl2;
|
Loading…
Reference in a new issue