2013-09-23 21:33:51 +01:00
|
|
|
{ stdenv, fetchurl, python, xrandr, pythonPackages }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
2015-09-22 00:49:38 +01:00
|
|
|
name = "arandr-0.1.8";
|
2013-09-23 21:33:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://christian.amsuess.com/tools/arandr/files/${name}.tar.gz";
|
2015-09-22 00:49:38 +01:00
|
|
|
sha256 = "0d574mbmhaqmh7kivaryj2hpghz6xkvic9ah43s1hf385y7c33kd";
|
2013-09-23 21:33:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
rm -rf data/po/*
|
|
|
|
python setup.py build
|
|
|
|
'';
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [pythonPackages.docutils];
|
|
|
|
propagatedBuildInputs = [ xrandr pythonPackages.pygtk ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://christian.amsuess.com/tools/arandr/;
|
|
|
|
description = "A simple visual front end for XRandR";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
};
|
|
|
|
}
|