depot/third_party/nixpkgs/pkgs/by-name/xi/xiccd/package.nix

43 lines
749 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
libX11,
libXrandr,
glib,
colord,
}:
stdenv.mkDerivation rec {
pname = "xiccd";
version = "0.3.0";
src = fetchFromGitHub {
owner = "agalakhov";
repo = "xiccd";
rev = "v${version}";
sha256 = "159fyz5535lcabi5bzmxgmjdgxlqcjaiqgzr00mi3ax0i5fdldwn";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libX11
libXrandr
glib
colord
];
meta = with lib; {
description = "X color profile daemon";
homepage = "https://github.com/agalakhov/xiccd";
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.linux;
mainProgram = "xiccd";
};
}