2019-10-05 14:08:58 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gnome3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-mpris-indicator-button-unstable";
|
2020-03-22 03:19:07 +00:00
|
|
|
version = "2020-03-21";
|
2019-10-05 14:08:58 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JasonLG1979";
|
|
|
|
repo = "gnome-shell-extension-mpris-indicator-button";
|
2020-03-22 03:19:07 +00:00
|
|
|
rev = "de54160e7d905b8c48c0fe30a437f7c51efc1aa3";
|
|
|
|
sha256 = "k/NLmDrlaOsMkwLye7YGQhaQvOMNfhCsDVh2F0qnuFg=";
|
2019-10-05 14:08:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
uuid = "mprisindicatorbutton@JasonLG1979.github.io";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
|
|
|
cp -r ${uuid} $out/share/gnome-shell/extensions
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A simple MPRIS indicator button for GNOME Shell";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
platforms = gnome3.gnome-shell.meta.platforms;
|
|
|
|
homepage = "https://github.com/JasonLG1979/gnome-shell-extension-mpris-indicator-button";
|
|
|
|
broken = versionOlder gnome3.gnome-shell.version "3.34";
|
|
|
|
};
|
|
|
|
}
|