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

28 lines
679 B
Nix
Raw Normal View History

2018-01-28 15:12:07 +01:00
{ stdenv, fetchFromGitHub, libX11, libXxf86vm, libXext, libXrandr }:
stdenv.mkDerivation rec {
2018-01-28 15:12:07 +01:00
name = "xcalib-0.10";
2018-01-28 15:12:07 +01:00
src = fetchFromGitHub {
owner = "OpenICC";
repo = "xcalib";
rev = "f95abc1a551d7c695a8b142c4d9d5035368d482d";
sha256 = "05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr";
};
2018-01-28 15:12:07 +01:00
buildInputs = [ libX11 libXxf86vm libXext libXrandr ];
installPhase = ''
mkdir -p $out/bin
cp xcalib $out/bin/
'';
meta = with stdenv.lib; {
2018-01-28 15:12:07 +01:00
inherit (src.meta) homepage;
description = "A tiny monitor calibration loader for X and MS-Windows";
2012-12-11 13:45:04 +01:00
license = licenses.gpl2;
maintainers = [];
platforms = platforms.linux;
};
}