depot/third_party/nixpkgs/pkgs/tools/X11/xbrightness/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

25 lines
802 B
Nix

{ lib, stdenv, fetchurl, imake, gccmakedep
, libX11, libXaw, libXext, libXmu, libXpm, libXxf86vm }:
stdenv.mkDerivation rec {
pname = "xbrightness";
version = "0.3-mika-akk";
src = fetchurl {
url = "https://shallowsky.com/software/xbrightness/xbrightness-${version}.tar.gz";
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";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
};
}