1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

Merge pull request #5801 from k0001/add-pkg-xbrightness

Add package xbrightness
This commit is contained in:
lethalman 2015-01-17 00:48:51 +01:00
commit c83673a050
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchurl, xlibs }:
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
];
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;
};
}

View file

@ -2808,6 +2808,8 @@ let
xarchiver = callPackage ../tools/archivers/xarchiver { };
xbrightness = callPackage ../tools/X11/xbrightness { };
xcruiser = callPackage ../applications/misc/xcruiser { };
unarj = callPackage ../tools/archivers/unarj { };