7 # We package this manually because upstream stopped updating the package to
8 # extensions.gnome.org. See:
9 # https://gitlab.com/ente76/guillotine/-/issues/17
10 stdenv.mkDerivation (finalAttrs: {
11 pname = "gnome-shell-extension-guillotine";
14 src = fetchFromGitLab {
17 rev = "v${finalAttrs.version}";
18 hash = "sha256-eNhK3h9luPGXHR3lPkfu/mUN9+ixma64rbCk0cjF4Fc=";
21 nativeBuildInputs = [ glib ];
24 extensionUuid = "guillotine@fopdoodle.net";
25 extensionPortalSlug = "guillotine";
30 rm schemas/gschemas.compiled
31 glib-compile-schemas schemas
37 mkdir -p $out/share/gnome-shell/extensions/guillotine@fopdoodle.net
38 cp -R schemas "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
39 cp default.json $out/share/gnome-shell/extensions/guillotine@fopdoodle.net
40 cp extension.js "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
41 cp guillotine-symbolic.svg "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
42 cp LICENSE "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
43 cp metadata.json "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
44 cp README.md "$out/share/gnome-shell/extensions/guillotine@fopdoodle.net"
49 description = "A gnome extension designed for efficiently carrying out executions of commands from a customizable menu";
50 homepage = "https://gitlab.com/ente76/guillotine/";
51 license = lib.licenses.gpl3Plus;
52 maintainers = with lib.maintainers; [ husky ];
53 platforms = lib.platforms.linux;