2019-04-30 05:30:18 +01:00
|
|
|
{ stdenv, fetchurl, gobject-introspection, gtk3, xrandr, python3Packages }:
|
2013-09-23 21:33:51 +01:00
|
|
|
|
2016-11-09 11:05:02 +00:00
|
|
|
let
|
2019-04-30 05:30:18 +01:00
|
|
|
inherit (python3Packages) buildPythonApplication docutils pygobject3;
|
2016-11-09 11:05:02 +00:00
|
|
|
in buildPythonApplication rec {
|
2019-04-30 05:30:18 +01:00
|
|
|
name = "arandr-0.1.10";
|
2013-09-23 21:33:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://christian.amsuess.com/tools/arandr/files/${name}.tar.gz";
|
2019-04-30 05:30:18 +01:00
|
|
|
sha256 = "135q0llvm077jil2fr92ssw3p095m4r8jfj0lc5rr3m71n4srj6v";
|
2013-09-23 21:33:51 +01:00
|
|
|
};
|
|
|
|
|
2015-11-20 12:48:30 +00:00
|
|
|
patchPhase = ''
|
2013-09-23 21:33:51 +01:00
|
|
|
rm -rf data/po/*
|
|
|
|
'';
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2016-11-09 11:05:02 +00:00
|
|
|
buildInputs = [ docutils ];
|
2019-04-30 05:30:18 +01:00
|
|
|
nativeBuildInputs = [ gobject-introspection gtk3 ];
|
|
|
|
propagatedBuildInputs = [ xrandr pygobject3 ];
|
|
|
|
|
|
|
|
makeWrapperArgs = [
|
|
|
|
"--set GI_TYPELIB_PATH $GI_TYPELIB_PATH"
|
|
|
|
];
|
2013-09-23 21:33:51 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://christian.amsuess.com/tools/arandr/;
|
|
|
|
description = "A simple visual front end for XRandR";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2016-05-17 12:57:28 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.domenkozar ];
|
2013-09-23 21:33:51 +01:00
|
|
|
};
|
|
|
|
}
|