nixpkgs-suyu/pkgs/tools/X11/xbrightness/default.nix

25 lines
784 B
Nix
Raw Normal View History

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