2021-07-03 17:02:23 +02:00
|
|
|
{ lib, stdenv, fetchFromSourcehut
|
|
|
|
, meson, pkg-config, ninja, wayland-scanner, scdoc
|
|
|
|
, wayland, wayland-protocols
|
2020-11-24 19:44:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wlsunset";
|
2021-04-26 14:24:25 +02:00
|
|
|
version = "0.2.0";
|
2020-11-24 19:44:52 +01:00
|
|
|
|
2021-03-13 12:33:02 +01:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~kennylevinsen";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-04-26 14:24:25 +02:00
|
|
|
sha256 = "0hhsddh3rs066rbsjksr8kcwg8lvglbvs67dq0r5wx5c1xcwb51w";
|
2020-11-24 19:44:52 +01:00
|
|
|
};
|
|
|
|
|
2021-07-03 17:02:23 +02:00
|
|
|
nativeBuildInputs = [ meson pkg-config ninja wayland-scanner scdoc ];
|
2020-11-24 19:44:52 +01:00
|
|
|
buildInputs = [ wayland wayland-protocols ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-11-24 19:44:52 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|