2016-11-09 11:05:02 +00:00
|
|
|
{ stdenv, fetchurl, xrandr, python2Packages }:
|
2013-09-23 20:33:51 +00:00
|
|
|
|
2016-11-09 11:05:02 +00:00
|
|
|
let
|
|
|
|
inherit (python2Packages) buildPythonApplication docutils pygtk;
|
|
|
|
in buildPythonApplication rec {
|
2016-04-13 00:32:51 +00:00
|
|
|
name = "arandr-0.1.9";
|
2013-09-23 20:33:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://christian.amsuess.com/tools/arandr/files/${name}.tar.gz";
|
2016-04-13 00:32:51 +00:00
|
|
|
sha256 = "1i3f1agixxbfy4kxikb2b241p7c2lg73cl9wqfvlwz3q6zf5faxv";
|
2013-09-23 20:33:51 +00:00
|
|
|
};
|
|
|
|
|
2015-11-20 12:48:30 +00:00
|
|
|
patchPhase = ''
|
2013-09-23 20:33:51 +00:00
|
|
|
rm -rf data/po/*
|
|
|
|
'';
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2016-11-09 11:05:02 +00:00
|
|
|
buildInputs = [ docutils ];
|
|
|
|
propagatedBuildInputs = [ xrandr pygtk ];
|
2013-09-23 20:33:51 +00: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 11:57:28 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.domenkozar ];
|
2013-09-23 20:33:51 +00:00
|
|
|
};
|
|
|
|
}
|