@@ -0,0 +1,35 @@
1+{ stdenv, lib, fetchFromGitHub, gnome3 }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "gnome-shell-extension-material-shell";
5+ version = "6";
6+
7+ src = fetchFromGitHub {
8+ owner = "material-shell";
9+ repo = "material-shell";
10+ rev = version;
11+ sha256 = "1mvaiaszlwydwjfsbam4s60idww5g5fi63xazwjcakdid3gbq6cl";
12+ };
13+
14+ # This package has a Makefile, but it's used for building a zip for
15+ # publication to extensions.gnome.org. Disable the build phase so
16+ # installing doesn't build an unnecessary release.
17+ dontBuild = true;
18+
19+ installPhase = ''
20+ runHook preInstall
21+ mkdir -p $out/share/gnome-shell/extensions/${uuid}
22+ cp -r * $out/share/gnome-shell/extensions/${uuid}/
23+ runHook postInstall
24+ '';
25+
26+ uuid = "material-shell@papyelgringo";
27+
28+ meta = with stdenv.lib; {
29+ description = "A modern desktop interface for Linux";
30+ license = licenses.mit;
31+ maintainers = with maintainers; [ benley ];
32+ homepage = "https://github.com/material-shell/material-shell";
33+ platforms = gnome3.gnome-shell.meta.platforms;
34+ };
35+}