2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, imake, gccmakedep
|
2020-04-24 23:36:52 +00:00
|
|
|
, libX11, libXaw, libXext, libXmu, libXpm, libXxf86vm }:
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xbrightness";
|
|
|
|
version = "0.3-mika-akk";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "https://shallowsky.com/software/xbrightness/xbrightness-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "2564dbd393544657cdabe4cbf535d9cfb9abe8edddb1b8cdb1ed4d12f358626e";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ imake gccmakedep ];
|
|
|
|
buildInputs = [ libX11 libXaw libXext libXmu libXpm libXxf86vm ];
|
|
|
|
|
|
|
|
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
|
|
|
|
installTargets = [ "install" "install.man" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "X11 brigthness and gamma software control";
|
|
|
|
homepage = "http://shallowsky.com/software";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|