2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, imake, gccmakedep
|
2018-11-28 03:32:14 +00:00
|
|
|
, libX11, libXaw, libXext, libXmu, libXpm, libXxf86vm }:
|
2015-01-16 05:59:39 +00:00
|
|
|
|
2021-07-27 17:35:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xbrightness";
|
|
|
|
version = "0.3-mika-akk";
|
2015-01-16 05:59:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-27 17:35:11 +00:00
|
|
|
url = "https://shallowsky.com/software/xbrightness/xbrightness-${version}.tar.gz";
|
2015-01-16 05:59:39 +00:00
|
|
|
sha256 = "2564dbd393544657cdabe4cbf535d9cfb9abe8edddb1b8cdb1ed4d12f358626e";
|
|
|
|
};
|
|
|
|
|
2018-11-28 03:32:14 +00:00
|
|
|
nativeBuildInputs = [ imake gccmakedep ];
|
|
|
|
buildInputs = [ libX11 libXaw libXext libXmu libXpm libXxf86vm ];
|
2015-01-16 05:59:39 +00:00
|
|
|
|
2018-11-28 03:32:14 +00:00
|
|
|
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
|
2019-11-04 12:33:53 +00:00
|
|
|
installTargets = [ "install" "install.man" ];
|
2015-01-16 23:23:44 +00:00
|
|
|
|
2015-01-16 05:59:39 +00:00
|
|
|
meta = {
|
|
|
|
description = "X11 brigthness and gamma software control";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://shallowsky.com/software";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
2015-01-16 05:59:39 +00:00
|
|
|
};
|
|
|
|
}
|