material-shell: init at v6 (#98899)

This commit is contained in:
Benjamin Staffin 2020-09-29 18:38:45 -04:00 committed by GitHub
parent effaddc2ec
commit 703f052de1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ stdenv, lib, fetchFromGitHub, gnome3 }:
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-material-shell";
version = "6";
src = fetchFromGitHub {
owner = "material-shell";
repo = "material-shell";
rev = version;
sha256 = "1mvaiaszlwydwjfsbam4s60idww5g5fi63xazwjcakdid3gbq6cl";
};
# This package has a Makefile, but it's used for building a zip for
# publication to extensions.gnome.org. Disable the build phase so
# installing doesn't build an unnecessary release.
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions/${uuid}
cp -r * $out/share/gnome-shell/extensions/${uuid}/
runHook postInstall
'';
uuid = "material-shell@papyelgringo";
meta = with stdenv.lib; {
description = "A modern desktop interface for Linux";
license = licenses.mit;
maintainers = with maintainers; [ benley ];
homepage = "https://github.com/material-shell/material-shell";
platforms = gnome3.gnome-shell.meta.platforms;
};
}

View file

@ -25695,6 +25695,7 @@ in
gsconnect = callPackage ../desktops/gnome-3/extensions/gsconnect { };
icon-hider = callPackage ../desktops/gnome-3/extensions/icon-hider { };
impatience = callPackage ../desktops/gnome-3/extensions/impatience { };
material-shell = callPackage ../desktops/gnome-3/extensions/material-shell { };
mpris-indicator-button = callPackage ../desktops/gnome-3/extensions/mpris-indicator-button { };
night-theme-switcher = callPackage ../desktops/gnome-3/extensions/night-theme-switcher { };
no-title-bar = callPackage ../desktops/gnome-3/extensions/no-title-bar { };