2021-07-21 07:28:18 +00:00
|
|
|
{ lib, stdenv, fetchFromSourcehut
|
|
|
|
, meson, pkg-config, ninja, wayland-scanner, scdoc
|
|
|
|
, wayland, wayland-protocols
|
2020-11-24 20:58:05 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wlsunset";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.3.0";
|
2020-11-24 20:58:05 +00:00
|
|
|
|
2021-03-15 08:37:03 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~kennylevinsen";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-jGYPWaRUqDL4htdAOA9CAQfoHLBPvK7O9vAzcE81f/E=";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
strictDeps = true;
|
|
|
|
depsBuildBuild = [
|
|
|
|
pkg-config
|
|
|
|
];
|
2021-07-21 07:28:18 +00:00
|
|
|
nativeBuildInputs = [ meson pkg-config ninja wayland-scanner scdoc ];
|
2020-11-24 20:58:05 +00:00
|
|
|
buildInputs = [ wayland wayland-protocols ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-24 20:58:05 +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;
|
2023-03-08 16:32:21 +00:00
|
|
|
platforms = platforms.linux;
|
2020-11-24 20:58:05 +00:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "wlsunset";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
}
|