3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/xbrightness/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

35 lines
766 B
Nix

{ stdenv, fetchurl, xorg }:
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";
};
buildInputs = [
xorg.imake
xorg.libX11
xorg.libXaw
xorg.libXext
xorg.libXmu
xorg.libXpm
xorg.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;
platforms = stdenv.lib.platforms.linux;
};
}