blob: 996a5888e836f2a8e5233d49313d75d60a749815 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ 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";
};
}
|