mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
27 lines
803 B
Nix
27 lines
803 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, libepoxy, wayland, wrapGAppsHook3 }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "wdisplays";
|
|
version = "1.1.1";
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook3 ];
|
|
|
|
buildInputs = [ gtk3 libepoxy wayland ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "artizirk";
|
|
repo = "wdisplays";
|
|
rev = finalAttrs.version;
|
|
sha256 = "sha256-dtvP930ChiDRT60xq6xBDU6k+zHnkrAkxkKz2FxlzRs=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A graphical application for configuring displays in Wayland compositors";
|
|
homepage = "https://github.com/luispabon/wdisplays";
|
|
maintainers = with maintainers; [ lheckemann ma27 ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
mainProgram = "wdisplays";
|
|
};
|
|
})
|