nixpkgs/pkgs/tools/X11/arandr/default.nix

30 lines
734 B
Nix
Raw Normal View History

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