Skip to content

Commit

Permalink
wlsunset: init at 0.1.0 (#103606)
Browse files Browse the repository at this point in the history
  • Loading branch information
primeos authored Nov 24, 2020
1 parent db43258 commit 4e72116
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/tools/wayland/wlsunset/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3579,6 +3579,8 @@ in

wl-clipboard = callPackage ../tools/misc/wl-clipboard { };

wlsunset = callPackage ../tools/wayland/wlsunset { };

wob = callPackage ../tools/misc/wob { };

wtype = callPackage ../tools/wayland/wtype { };
Expand Down

0 comments on commit 4e72116

Please sign in to comment.