forked from mirrors/nixpkgs
Merge pull request #146753 from rhoriguchi/gnomeExtensions.caffeine
This commit is contained in:
commit
4a27ec097b
|
@ -1,43 +0,0 @@
|
|||
{ lib, stdenv, fetchFromGitHub, glib, gettext, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-caffeine";
|
||||
version = "38";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eonpatapon";
|
||||
repo = "gnome-shell-extension-caffeine";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dyagnjmk91h96xr98mc177c473bqpxcv86qf6g3kyh3arwa9shs";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
extensionPortalSlug = "caffeine";
|
||||
extensionUuid = "caffeine@patapon.info";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
glib gettext
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
${bash}/bin/bash ./update-locale.sh
|
||||
glib-compile-schemas --strict --targetdir=caffeine@patapon.info/schemas/ caffeine@patapon.info/schemas
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/gnome-shell/extensions
|
||||
cp -r "caffeine@patapon.info" $out/share/gnome-shell/extensions
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fill the cup to inhibit auto suspend and screensaver";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ eperuffo ];
|
||||
homepage = "https://github.com/eonpatapon/gnome-shell-extension-caffeine";
|
||||
};
|
||||
}
|
|
@ -11,6 +11,10 @@
|
|||
# the upstream repository's sources.
|
||||
super: super // {
|
||||
|
||||
"caffeine@patapon.info" = super."caffeine@patapon.info".overrideAttrs (old: {
|
||||
meta.maintainers = with lib.maintainers; [ eperuffo ];
|
||||
});
|
||||
|
||||
"dash-to-dock@micxgx.gmail.com" = super."dash-to-dock@micxgx.gmail.com".overrideAttrs (old: {
|
||||
meta.maintainers = with lib.maintainers; [ eperuffo jtojnar rhoriguchi ];
|
||||
});
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ callPackage }:
|
||||
{
|
||||
"arcmenu@arcmenu.com" = callPackage ./arcmenu { };
|
||||
"caffeine@patapon.info" = callPackage ./caffeine { };
|
||||
"clock-override@gnomeshell.kryogenix.org" = callPackage ./clock-override { };
|
||||
"dash-to-panel@jderose9.github.com" = callPackage ./dash-to-panel { };
|
||||
"drop-down-terminal@gs-extensions.zzrough.org" = callPackage ./drop-down-terminal { };
|
||||
|
|
Loading…
Reference in a new issue