2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, substituteAll, gjs, vte, gnome }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-drop-down-terminal";
|
|
|
|
version = "unstable-2020-03-25";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zzrough";
|
|
|
|
repo = "gs-extensions-drop-down-terminal";
|
|
|
|
rev = "a59669afdb395b3315619f62c1f740f8b2f0690d";
|
|
|
|
sha256 = "0igfxgrjdqq6z6xg4rsawxn261pk25g5dw2pm3bhwz5sqsy4bq3i";
|
|
|
|
};
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "drop-down-terminal@gs-extensions.zzrough.org";
|
|
|
|
extensionPortalSlug = "drop-down-terminal";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix_vte_and_gjs.patch;
|
|
|
|
inherit gjs vte;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
2021-07-14 22:03:04 +00:00
|
|
|
cp -r "drop-down-terminal@gs-extensions.zzrough.org" $out/share/gnome-shell/extensions/
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Configurable drop down terminal shell";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ ericdallo ];
|
|
|
|
homepage = "https://github.com/zzrough/gs-extensions-drop-down-terminal";
|
|
|
|
};
|
|
|
|
}
|