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