nixpkgs-suyu/pkgs/tools/X11/arandr/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

29 lines
734 B
Nix

{ stdenv, fetchurl, xrandr, python2Packages }:
let
inherit (python2Packages) buildPythonApplication docutils pygtk;
in buildPythonApplication rec {
name = "arandr-0.1.9";
src = fetchurl {
url = "https://christian.amsuess.com/tools/arandr/files/${name}.tar.gz";
sha256 = "1i3f1agixxbfy4kxikb2b241p7c2lg73cl9wqfvlwz3q6zf5faxv";
};
patchPhase = ''
rm -rf data/po/*
'';
# no tests
doCheck = false;
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 ];
};
}