3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/xcalib/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
658 B
Nix
Raw Normal View History

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