arandr: spring cleaning (#466324)

This commit is contained in:
Aleksana
2025-11-30 01:39:24 +00:00
committed by GitHub
+19 -6
View File
@@ -11,12 +11,17 @@
}:
let
inherit (python3Packages) buildPythonApplication docutils pygobject3;
inherit (python3Packages)
buildPythonApplication
setuptools
docutils
pygobject3
;
in
buildPythonApplication rec {
pname = "arandr";
version = "0.1.11";
format = "setuptools";
pyproject = true;
src = fetchFromGitLab {
owner = "arandr";
@@ -35,13 +40,15 @@ buildPythonApplication rec {
];
buildInputs = [
docutils
gsettings-desktop-schemas
gtk3
xrandr
];
propagatedBuildInputs = [
xrandr
build-system = [ setuptools ];
dependencies = [
docutils
pygobject3
];
@@ -52,6 +59,12 @@ buildPythonApplication rec {
# no tests
doCheck = false;
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex=(\\d.*)"
@@ -62,7 +75,7 @@ buildPythonApplication rec {
changelog = "https://gitlab.com/arandr/arandr/-/blob/${src.tag}/ChangeLog";
description = "Simple visual front end for XRandR";
homepage = "https://christian.amsuess.com/tools/arandr/";
license = lib.licenses.gpl3;
license = lib.licenses.gpl3Plus;
mainProgram = "arandr";
maintainers = with lib.maintainers; [
gepbird