mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
bffbf4617a
Their keys are now not used directly. Instead, we go the standard route of mapping to the UUID in order to apply the rename procedure. This makes sure the manual override always does the correct thing, and also gives us more consistency overall.
38 lines
982 B
Nix
38 lines
982 B
Nix
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gettext, xorg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-no-title-bar";
|
|
version = "11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "poehlerj";
|
|
repo = "no-title-bar";
|
|
rev = "V_${version}";
|
|
sha256 = "07ddw47binlsbyvgy4xkdjvd40zyp7nwd17r6k7w54d50vmnwhvb";
|
|
};
|
|
|
|
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" ];
|
|
|
|
passthru = {
|
|
extensionUuid = "no-title-bar@jonaspoehler.de";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Integrates maximized windows with the top panel";
|
|
homepage = "https://github.com/poehlerj/no-title-bar";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ jonafato svsdep maxeaubrey ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|