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 {}) // {
|
gnomeExtensions = (super.gnomeExtensions or {}) // {
|
||||||
hide-activities = callPackage ./pkgs/gnome-shell-extensions/hide-activities.nix {};
|
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 {};
|
noannoyance = callPackage ./pkgs/gnome-shell-extensions/noannoyance.nix {};
|
||||||
bluetooth-quick-connect = callPackage ./pkgs/gnome-shell-extensions/bluetooth-quick-connect.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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hibernate-button";
|
pname = "hibernate-status";
|
||||||
version = "20";
|
version = "1.10";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://extensions.gnome.org/extension-data/hibernate-statusdromi.v${version}.shell-extension.zip";
|
url = "https://github.com/arelange/gnome-shell-extension-hibernate-status/archive/refs/tags/v${version}.zip";
|
||||||
sha256 = "1106s8pimsamfhjxwnyjb5hvcz0jxf7k416d9w5m71n1i0sgfnnn";
|
sha256 = "0r6jn5pkyw7km32migb86xdq32w2vybbbrspd4wc0dzgadk2ii7w";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -15,12 +15,13 @@ stdenv.mkDerivation rec {
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
cd gnome-shell-extension-hibernate-status-${version}
|
||||||
mkdir -p $out/share/gnome-shell/extensions/${uuid}
|
mkdir -p $out/share/gnome-shell/extensions/${uuid}
|
||||||
cp confirmDialog.js extension.js metadata.json prefs.js $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}
|
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";
|
description = "Gnome Shell extension that adds a hibernate/hybrid suspend button in Status menu";
|
||||||
homepage = "https://github.com/arelange/gnome-shell-extension-hibernate-status";
|
homepage = "https://github.com/arelange/gnome-shell-extension-hibernate-status";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
Loading…
Reference in a new issue