Merge pull request #270321: gnomeExtensions.unite: 72 -> 77
This commit is contained in:
commit
96482988bd
3 changed files with 45 additions and 7 deletions
|
@ -23,7 +23,6 @@
|
|||
, vte
|
||||
, wrapGAppsHook
|
||||
, xdg-utils
|
||||
, xprop
|
||||
}:
|
||||
let
|
||||
# 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: {
|
||||
# Extension can't find Touchegg
|
||||
# https://github.com/NixOS/nixpkgs/issues/137621
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
"taskwhisperer-extension@infinicode.de" = callPackage ./taskwhisperer { };
|
||||
"tilingnome@rliang.github.com" = callPackage ./tilingnome { };
|
||||
"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 { };
|
||||
"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 a new issue