2015-09-15 10:26:18 +01:00
|
|
|
{ stdenv, fetchurl, xorg }:
|
2015-01-16 05:59:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
name = "xbrightness-0.3-mika-akk";
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = https://shallowsky.com/software/xbrightness/xbrightness-0.3-mika-akk.tar.gz;
|
2015-01-16 05:59:39 +00:00
|
|
|
sha256 = "2564dbd393544657cdabe4cbf535d9cfb9abe8edddb1b8cdb1ed4d12f358626e";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2015-09-15 10:26:18 +01:00
|
|
|
xorg.imake
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXaw
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXmu
|
|
|
|
xorg.libXpm
|
|
|
|
xorg.libXxf86vm
|
2015-01-16 05:59:39 +00:00
|
|
|
];
|
|
|
|
|
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;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-01-16 05:59:39 +00:00
|
|
|
};
|
|
|
|
}
|