nixpkgs/pkgs/tools/X11/xbrightness/default.nix
Vladimír Čunát 88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00

33 lines
721 B
Nix

{ stdenv, fetchurl, xorg }:
stdenv.mkDerivation {
name = "xbrightness-0.3-mika-akk";
src = fetchurl {
url = http://shallowsky.com/software/xbrightness/xbrightness-0.3-mika-akk.tar.gz;
sha256 = "2564dbd393544657cdabe4cbf535d9cfb9abe8edddb1b8cdb1ed4d12f358626e";
};
buildInputs = [
xorg.imake
xorg.libX11
xorg.libXaw
xorg.libXext
xorg.libXmu
xorg.libXpm
xorg.libXxf86vm
];
configurePhase = "xmkmf";
installPhase = ''
make install BINDIR=$out/bin
make install.man MANPATH=$out/share/man
'';
meta = {
description = "X11 brigthness and gamma software control";
homepage = http://shallowsky.com/software;
license = stdenv.lib.licenses.mit;
};
}