diff options
Diffstat (limited to 'pkgs/tools/wayland/kanshi')
-rw-r--r-- | pkgs/tools/wayland/kanshi/default.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/tools/wayland/kanshi/default.nix b/pkgs/tools/wayland/kanshi/default.nix index 0b906f0aa98..f372ee5dae7 100644 --- a/pkgs/tools/wayland/kanshi/default.nix +++ b/pkgs/tools/wayland/kanshi/default.nix @@ -1,23 +1,24 @@ { lib , stdenv -, fetchFromGitHub +, fetchFromSourcehut , meson , ninja , pkg-config , scdoc , wayland , wayland-scanner +, libvarlink }: stdenv.mkDerivation rec { pname = "kanshi"; - version = "1.2.0"; + version = "1.3.0"; - src = fetchFromGitHub { - owner = "emersion"; + src = fetchFromSourcehut { + owner = "~emersion"; repo = "kanshi"; rev = "v${version}"; - sha256 = "sha256-RVMeS2qEjTYK6r7IwMeFSqfRpKR8di2eQXhewfhTnYI="; + sha256 = "kqTRJhLd9vLGAPO5U5cWeZgzWzne+0Cr4TIS0ciZSGk="; }; strictDeps = true; @@ -25,10 +26,10 @@ stdenv.mkDerivation rec { pkg-config ]; nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ]; - buildInputs = [ wayland ]; + buildInputs = [ wayland libvarlink ]; meta = with lib; { - homepage = "https://github.com/emersion/kanshi"; + homepage = "https://sr.ht/~emersion/kanshi"; description = "Dynamic display configuration tool"; longDescription = '' kanshi allows you to define output profiles that are automatically enabled @@ -39,7 +40,7 @@ stdenv.mkDerivation rec { wlr-output-management protocol. ''; license = licenses.mit; - maintainers = with maintainers; [ balsoft ]; + maintainers = with maintainers; [ balsoft danielbarter ]; platforms = platforms.linux; }; } |