2015-01-16 23:37:22 +00:00
|
|
|
{ stdenv, fetchurl, xlibs }:
|
2015-01-16 05:59:39 +00:00
|
|
|
|
|
|
|
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 = [
|
|
|
|
xlibs.imake
|
|
|
|
xlibs.libX11
|
|
|
|
xlibs.libXaw
|
|
|
|
xlibs.libXext
|
|
|
|
xlibs.libXmu
|
|
|
|
xlibs.libXpm
|
|
|
|
xlibs.libXxf86vm
|
|
|
|
];
|
|
|
|
|
2015-01-16 23:23:44 +00:00
|
|
|
configurePhase = "xmkmf";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install BINDIR=$out/bin
|
|
|
|
make install.man MANPATH=$out/share/man
|
|
|
|
'';
|
|
|
|
|
2015-01-16 05:59:39 +00:00
|
|
|
meta = {
|
|
|
|
description = "X11 brigthness and gamma software control";
|
|
|
|
homepage = http://shallowsky.com/software;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|