nixpkgs/pkgs/by-name/wl/wlsunset/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.1 KiB
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromSourcehut,
meson,
pkg-config,
ninja,
wayland-scanner,
scdoc,
wayland,
wayland-protocols,
2020-11-24 18:44:52 +00:00
}:
stdenv.mkDerivation rec {
pname = "wlsunset";
2024-04-23 20:08:13 +00:00
version = "0.4.0";
2020-11-24 18:44:52 +00:00
src = fetchFromSourcehut {
owner = "~kennylevinsen";
repo = pname;
rev = version;
2024-04-23 20:08:13 +00:00
sha256 = "sha256-U/yROKkU9pOBLIIIsmkltF64tt5ZR97EAxxGgrFYwNg=";
2020-11-24 18:44:52 +00:00
};
2022-05-09 14:18:15 +00:00
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
pkg-config
ninja
wayland-scanner
scdoc
2020-11-24 18:44:52 +00:00
];
buildInputs = [
wayland
wayland-protocols
];
2020-11-24 18:44:52 +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.linux;
2020-11-24 18:44:52 +00:00
maintainers = with maintainers; [ primeos ];
2023-11-27 01:17:53 +00:00
mainProgram = "wlsunset";
2020-11-24 18:44:52 +00:00
};
}