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";
|
|
|
|
version = "9";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "franglais125";
|
|
|
|
repo = "no-title-bar";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "02zm61fg40r005fn2rvgrbsz2hbcsmp2hkhyilqbmpilw35y0nbq";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
glib gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
|
|
|
xprop = "${xorg.xprop}/bin/xprop";
|
|
|
|
xwininfo = "${xorg.xwininfo}/bin/xwininfo";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
uuid = "no-title-bar@franglais125.gmail.com";
|
|
|
|
|
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";
|
|
|
|
homepage = "https://github.com/franglais125/no-title-bar";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
broken = true; # https://github.com/franglais125/no-title-bar/issues/114
|
|
|
|
maintainers = with maintainers; [ jonafato svsdep ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|