Merge pull request #108714 from rhoriguchi/unite-shell

This commit is contained in:
Sandro 2021-01-12 01:43:30 +01:00 committed by GitHub
commit 805821e1cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 0 deletions

View file

@ -7587,6 +7587,12 @@
githubId = 395821;
name = "rht";
};
rhoriguchi = {
email = "ryan.horiguchi@gmail.com";
github = "rhoriguchi ";
githubId = 6047658;
name = "Ryan Horiguchi";
};
richardipsum = {
email = "richardipsum@fastmail.co.uk";
github = "richardipsum";

View file

@ -0,0 +1,39 @@
{ stdenv, gnome3, fetchFromGitHub, xprop, glib, coreutils }:
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-unite-shell";
version = "44";
src = fetchFromGitHub {
owner = "hardpixel";
repo = "unite-shell";
rev = "v${version}";
sha256 = "0nqc1q2yz4xa3fdfx45w6da1wijmdwzhdrch0mqwblgbpjr4fs9g";
};
uuid = "unite@hardpixel.eu";
nativeBuildInputs = [ glib ];
buildInputs = [ xprop ];
buildPhase = ''
runHook preBuild
glib-compile-schemas --strict --targetdir=${uuid}/schemas/ ${uuid}/schemas
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions
cp -r ${uuid} $out/share/gnome-shell/extensions
runHook postInstall
'';
meta = with stdenv.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 gnome3.gnome-shell.version "3.32";
};
}

View file

@ -26990,6 +26990,7 @@ in
tilingnome = callPackage ../desktops/gnome-3/extensions/tilingnome { };
timepp = callPackage ../desktops/gnome-3/extensions/timepp { };
topicons-plus = callPackage ../desktops/gnome-3/extensions/topicons-plus { };
unite-shell = callPackage ../desktops/gnome-3/extensions/unite-shell { };
window-corner-preview = callPackage ../desktops/gnome-3/extensions/window-corner-preview { };
window-is-ready-remover = callPackage ../desktops/gnome-3/extensions/window-is-ready-remover { };
workspace-matrix = callPackage ../desktops/gnome-3/extensions/workspace-matrix { };