Merge pull request #322835 from huskyistaken/master

gnomeExtensions.guillotine: package manually
This commit is contained in:
Doron Behar
2024-07-31 11:14:11 +00:00
committed by GitHub
3 changed files with 63 additions and 0 deletions
+7
View File
@@ -8421,6 +8421,13 @@
githubId = 6109326;
name = "David Hummel";
};
husky = {
email = "husky@husky.sh";
github = "huskyistaken";
githubId = 20684258;
name = "Luna Perego";
keys = [ { fingerprint = "09E4 B981 9B93 5B0C 0B91 1274 0578 7332 9217 08FF"; } ];
};
huyngo = {
email = "huyngo@disroot.org";
github = "Huy-Ngo";
@@ -0,0 +1,55 @@
{
stdenv,
lib,
fetchFromGitLab,
glib,
}:
# We package this manually because upstream stopped updating the package to
# extensions.gnome.org. See:
# https://gitlab.com/ente76/guillotine/-/issues/17
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-shell-extension-guillotine";
version = "24";
src = fetchFromGitLab {
owner = "ente76";
repo = "guillotine";
rev = "v${finalAttrs.version}";
hash = "sha256-eNhK3h9luPGXHR3lPkfu/mUN9+ixma64rbCk0cjF4Fc=";
};
nativeBuildInputs = [ glib ];
passthru = {
extensionUuid = "guillotine@fopdoodle.net";
extensionPortalSlug = "guillotine";
};
buildPhase = ''
runHook preBuild
rm schemas/gschemas.compiled
glib-compile-schemas schemas
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions/guillotine@fopdoodle.net
cp -R schemas "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
cp default.json $out/share/gnome-shell/extensions/guillotine@fopdoodle.net
cp extension.js "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
cp guillotine-symbolic.svg "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
cp LICENSE "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
cp metadata.json "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
cp README.md "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
runHook postInstall
'';
meta = {
description = "A gnome extension designed for efficiently carrying out executions of commands from a customizable menu";
homepage = "https://gitlab.com/ente76/guillotine/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ husky ];
platforms = lib.platforms.linux;
};
})
@@ -6,6 +6,7 @@
"drop-down-terminal@gs-extensions.zzrough.org" = callPackage ./drop-down-terminal { };
"EasyScreenCast@iacopodeenosee.gmail.com" = callPackage ./EasyScreenCast { };
"gsconnect@andyholmes.github.io" = callPackage ./gsconnect { };
"guillotine@fopdoodle.net" = callPackage ./guillotine { };
"impatience@gfxmonk.net" = callPackage ./impatience { };
"no-title-bar@jonaspoehler.de" = callPackage ./no-title-bar { };
"pidgin@muffinmad" = callPackage ./pidgin-im-integration { };