2021-03-13 11:33:02 +00:00
|
|
|
{ lib, stdenv, fetchFromSourcehut, meson, pkg-config, ninja, wayland
|
2020-11-24 18:44:52 +00:00
|
|
|
, wayland-protocols
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wlsunset";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
2021-03-13 11:33:02 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~kennylevinsen";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "12snizvf49y40cirhr2brgyldhsykv4k2gnln2sdrajqzhrc98v6";
|
2020-11-24 18:44:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson pkg-config ninja wayland ];
|
|
|
|
buildInputs = [ wayland wayland-protocols ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-24 18:44:52 +00:00
|
|
|
description = "Day/night gamma adjustments for Wayland";
|
|
|
|
longDescription = ''
|
|
|
|
Day/night gamma adjustments for Wayland compositors supporting
|
|
|
|
wlr-gamma-control-unstable-v1.
|
|
|
|
'';
|
|
|
|
homepage = "https://sr.ht/~kennylevinsen/wlsunset/";
|
|
|
|
changelog = "https://git.sr.ht/~kennylevinsen/wlsunset/refs/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|