2020-03-22 03:42:20 +00:00
|
|
|
{ stdenv, fetchFromGitHub, substituteAll, gjs, vte, gnome3 }:
|
2019-09-30 01:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-drop-down-terminal";
|
2020-03-28 21:50:59 +00:00
|
|
|
version = "unstable-2020-03-25";
|
2019-09-30 01:35:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zzrough";
|
|
|
|
repo = "gs-extensions-drop-down-terminal";
|
2020-03-28 21:50:59 +00:00
|
|
|
rev = "a59669afdb395b3315619f62c1f740f8b2f0690d";
|
|
|
|
sha256 = "0igfxgrjdqq6z6xg4rsawxn261pk25g5dw2pm3bhwz5sqsy4bq3i";
|
2019-09-30 01:35:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
uuid = "drop-down-terminal@gs-extensions.zzrough.org";
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix_vte_and_gjs.patch;
|
2019-11-04 23:38:42 +00:00
|
|
|
inherit gjs vte;
|
2019-09-30 01:35:23 +01:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook preInstall
|
2019-09-30 01:35:23 +01:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
|
|
|
cp -r ${uuid} $out/share/gnome-shell/extensions/
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook postInstall
|
2019-09-30 01:35:23 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Configurable drop down terminal shell";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ ericdallo ];
|
2020-03-28 21:50:59 +00:00
|
|
|
homepage = "https://github.com/zzrough/gs-extensions-drop-down-terminal";
|
2019-09-30 01:35:23 +01:00
|
|
|
};
|
|
|
|
}
|