2020-10-27 00:29:36 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, gnome3 }:
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-material-shell";
|
2020-11-06 00:33:48 +00:00
|
|
|
version = "9";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "material-shell";
|
|
|
|
repo = "material-shell";
|
|
|
|
rev = version;
|
2020-11-06 00:33:48 +00:00
|
|
|
sha256 = "154ids72hkkvibqpq3522wf6h9qw7zkjnf8dgz50vxbkiiy015xn";
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
}
|