mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +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)
42 lines
961 B
Nix
42 lines
961 B
Nix
{ lib
|
|
, fetchurl
|
|
, python3Packages
|
|
, gobject-introspection
|
|
, gsettings-desktop-schemas
|
|
, gtk3
|
|
, wrapGAppsHook3
|
|
, xrandr
|
|
}:
|
|
|
|
let
|
|
inherit (python3Packages) buildPythonApplication docutils pygobject3;
|
|
in
|
|
buildPythonApplication rec {
|
|
pname = "arandr";
|
|
version = "0.1.11";
|
|
|
|
src = fetchurl {
|
|
url = "https://christian.amsuess.com/tools/arandr/files/${pname}-${version}.tar.gz";
|
|
hash = "sha256-5Mu+Npi7gSs5V3CHAXS+AJS7rrOREFqBH5X0LrGCrgI=";
|
|
};
|
|
|
|
preBuild = ''
|
|
rm -rf data/po/*
|
|
'';
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
buildInputs = [ docutils gsettings-desktop-schemas gtk3 ];
|
|
nativeBuildInputs = [ gobject-introspection wrapGAppsHook3 ];
|
|
propagatedBuildInputs = [ xrandr pygobject3 ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://christian.amsuess.com/tools/arandr/";
|
|
description = "A simple visual front end for XRandR";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ gepbird ];
|
|
mainProgram = "arandr";
|
|
};
|
|
}
|