Merge pull request #270321: gnomeExtensions.unite: 72 -> 77
This commit is contained in:
commit
96482988bd
@ -23,7 +23,6 @@
|
|||||||
, vte
|
, vte
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, xdg-utils
|
, xdg-utils
|
||||||
, xprop
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# Helper method to reduce redundancy
|
# Helper method to reduce redundancy
|
||||||
@ -137,12 +136,6 @@ super: lib.trivial.pipe super [
|
|||||||
];
|
];
|
||||||
}))
|
}))
|
||||||
|
|
||||||
(patchExtension "unite@hardpixel.eu" (old: {
|
|
||||||
buildInputs = [ xprop ];
|
|
||||||
|
|
||||||
meta.maintainers = with lib.maintainers; [ rhoriguchi ];
|
|
||||||
}))
|
|
||||||
|
|
||||||
(patchExtension "x11gestures@joseexposito.github.io" (old: {
|
(patchExtension "x11gestures@joseexposito.github.io" (old: {
|
||||||
# Extension can't find Touchegg
|
# Extension can't find Touchegg
|
||||||
# https://github.com/NixOS/nixpkgs/issues/137621
|
# https://github.com/NixOS/nixpkgs/issues/137621
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
"taskwhisperer-extension@infinicode.de" = callPackage ./taskwhisperer { };
|
"taskwhisperer-extension@infinicode.de" = callPackage ./taskwhisperer { };
|
||||||
"tilingnome@rliang.github.com" = callPackage ./tilingnome { };
|
"tilingnome@rliang.github.com" = callPackage ./tilingnome { };
|
||||||
"TopIcons@phocean.net" = callPackage ./topicons-plus { };
|
"TopIcons@phocean.net" = callPackage ./topicons-plus { };
|
||||||
|
# Can be removed when https://github.com/hardpixel/unite-shell/issues/353 resolved
|
||||||
|
"unite@hardpixel.eu" = callPackage ./unite { };
|
||||||
"valent@andyholmes.ca" = callPackage ./valent { };
|
"valent@andyholmes.ca" = callPackage ./valent { };
|
||||||
"window-corner-preview@fabiomereu.it" = callPackage ./window-corner-preview { };
|
"window-corner-preview@fabiomereu.it" = callPackage ./window-corner-preview { };
|
||||||
}
|
}
|
||||||
|
43
pkgs/desktops/gnome/extensions/unite/default.nix
Normal file
43
pkgs/desktops/gnome/extensions/unite/default.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ lib, stdenv, gnome, fetchFromGitHub, xprop, glib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "gnome-shell-extension-unite";
|
||||||
|
version = "77";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hardpixel";
|
||||||
|
repo = "unite-shell";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-5PClGWOxqwTVaqBySu5I+qavaV1vcKHUvoYJ3Qgcq2o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extensionUuid = "unite@hardpixel.eu";
|
||||||
|
extensionPortalSlug = "unite";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ glib ];
|
||||||
|
|
||||||
|
buildInputs = [ xprop ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
glib-compile-schemas --strict --targetdir="unite@hardpixel.eu/schemas/" "unite@hardpixel.eu/schemas"
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/gnome-shell/extensions
|
||||||
|
cp -r "unite@hardpixel.eu" $out/share/gnome-shell/extensions
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Unite is a GNOME Shell extension which makes a few layout tweaks to the top panel and removes window decorations to make it look like Ubuntu Unity Shell";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ rhoriguchi ];
|
||||||
|
homepage = "https://github.com/hardpixel/unite-shell";
|
||||||
|
broken = versionOlder gnome.gnome-shell.version "3.32";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user