2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gettext, xorg }:
|
2018-02-21 17:55:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-shell-extension-no-title-bar";
|
2021-02-25 05:44:37 +00:00
|
|
|
version = "11";
|
2018-02-21 17:55:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-25 05:44:37 +00:00
|
|
|
owner = "poehlerj";
|
2018-02-21 17:55:39 +00:00
|
|
|
repo = "no-title-bar";
|
2021-02-25 05:44:37 +00:00
|
|
|
rev = "V_${version}";
|
|
|
|
sha256 = "07ddw47binlsbyvgy4xkdjvd40zyp7nwd17r6k7w54d50vmnwhvb";
|
2018-02-21 17:55:39 +00:00
|
|
|
};
|
|
|
|
|
2021-02-25 05:44:37 +00:00
|
|
|
nativeBuildInputs = [ glib gettext ];
|
2018-02-21 17:55:39 +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-05-29 15:34:26 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "no-title-bar@jonaspoehler.de";
|
|
|
|
};
|
2018-08-30 09:09:58 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-21 17:55:39 +00:00
|
|
|
description = "Integrates maximized windows with the top panel";
|
2021-02-25 05:44:37 +00:00
|
|
|
homepage = "https://github.com/poehlerj/no-title-bar";
|
2018-02-21 17:55:39 +00:00
|
|
|
license = licenses.gpl2;
|
2021-02-25 05:44:37 +00:00
|
|
|
maintainers = with maintainers; [ jonafato svsdep maxeaubrey ];
|
2018-02-21 17:55:39 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|