aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/wayland/wlsunset/default.nix
blob: 2993f990aad57d642fcabc27f3b3c2c62dd54a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, meson, pkg-config, ninja, wayland
, wayland-protocols
}:

stdenv.mkDerivation rec {
  pname = "wlsunset";
  version = "0.1.0";

  src = fetchurl {
    url = "https://git.sr.ht/~kennylevinsen/wlsunset/archive/${version}.tar.gz";
    sha256 = "0g7mk14hlbwbhq6nqr84452sbgcja3hdxsqf0vws4njhfjgqiv3q";
  };

  nativeBuildInputs = [ meson pkg-config ninja wayland ];
  buildInputs = [ wayland wayland-protocols ];

  meta = with stdenv.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.unix;
    maintainers = with maintainers; [ primeos ];
  };
}