mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #140298 from rhoriguchi/gnomeExtensions.unite
This commit is contained in:
commit
375e8beb45
@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
ddcutil,
|
||||
gjs,
|
||||
{ lib
|
||||
, ddcutil
|
||||
, gjs
|
||||
, xprop
|
||||
}:
|
||||
# A set of overrides for automatically packaged extensions that require some small fixes.
|
||||
# The input must be an attribute set with the extensions' UUIDs as keys and the extension
|
||||
@ -29,4 +29,10 @@ super: super // {
|
||||
'';
|
||||
});
|
||||
|
||||
"unite@hardpixel.eu" = super."unite@hardpixel.eu".overrideAttrs (old: {
|
||||
buildInputs = [ xprop ];
|
||||
|
||||
meta.maintainers = with lib.maintainers; [ rhoriguchi ];
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -21,6 +21,5 @@
|
||||
"taskwhisperer-extension@infinicode.de" = callPackage ./taskwhisperer { };
|
||||
"tilingnome@rliang.github.com" = callPackage ./tilingnome { };
|
||||
"TopIcons@phocean.net" = callPackage ./topicons-plus { };
|
||||
"unite@hardpixel.eu" = callPackage ./unite { };
|
||||
"window-corner-preview@fabiomereu.it" = callPackage ./window-corner-preview { };
|
||||
}
|
||||
|
@ -1,43 +0,0 @@
|
||||
{ lib, stdenv, gnome, fetchFromGitHub, xprop, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-unite";
|
||||
version = "55";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hardpixel";
|
||||
repo = "unite-shell";
|
||||
rev = "v${version}";
|
||||
sha256 = "0bav4vzky3p7np2gphxc6bw38c697kalmaibaar9vi0ip3xkkavk";
|
||||
};
|
||||
|
||||
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