2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gettext, xorg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-no-title-bar";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-03-09 03:18:52 +00:00
|
|
|
owner = "poehlerj";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "no-title-bar";
|
2021-03-09 03:18:52 +00:00
|
|
|
rev = "V_${version}";
|
|
|
|
sha256 = "07ddw47binlsbyvgy4xkdjvd40zyp7nwd17r6k7w54d50vmnwhvb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ glib gettext ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
|
|
|
xprop = "${xorg.xprop}/bin/xprop";
|
|
|
|
xwininfo = "${xorg.xwininfo}/bin/xwininfo";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "no-title-bar@jonaspoehler.de";
|
|
|
|
};
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Integrates maximized windows with the top panel";
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://github.com/poehlerj/no-title-bar";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
2024-09-19 14:19:46 +00:00
|
|
|
maintainers = with maintainers; [ svsdep ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|