2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11, libXxf86vm, libXext, libXrandr }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "xcalib";
|
|
|
|
version = "0.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenICC";
|
|
|
|
repo = "xcalib";
|
2021-08-05 21:33:18 +00:00
|
|
|
rev = version;
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXxf86vm libXext libXrandr ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp xcalib $out/bin/
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "A tiny monitor calibration loader for X and MS-Windows";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|