mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
38 lines
1.0 KiB
Nix
38 lines
1.0 KiB
Nix
{ lib, stdenv, fetchFromSourcehut
|
|
, meson, pkg-config, ninja, wayland-scanner, scdoc
|
|
, wayland, wayland-protocols
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wlsunset";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~kennylevinsen";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-U/yROKkU9pOBLIIIsmkltF64tt5ZR97EAxxGgrFYwNg=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
depsBuildBuild = [
|
|
pkg-config
|
|
];
|
|
nativeBuildInputs = [ meson pkg-config ninja wayland-scanner scdoc ];
|
|
buildInputs = [ wayland wayland-protocols ];
|
|
|
|
meta = with lib; {
|
|
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;
|
|
maintainers = with maintainers; [ primeos ];
|
|
mainProgram = "wlsunset";
|
|
};
|
|
}
|