diff --git a/pkgs/by-name/co/cosmic-protocols/package.nix b/pkgs/by-name/co/cosmic-protocols/package.nix index 192b83393042..b954c13a8895 100644 --- a/pkgs/by-name/co/cosmic-protocols/package.nix +++ b/pkgs/by-name/co/cosmic-protocols/package.nix @@ -1,32 +1,43 @@ { lib, - fetchFromGitHub, stdenv, + fetchFromGitHub, wayland-scanner, + nix-update-script, }: stdenv.mkDerivation { pname = "cosmic-protocols"; - version = "0-unstable-2024-07-31"; + version = "0-unstable-2025-03-05"; src = fetchFromGitHub { owner = "pop-os"; repo = "cosmic-protocols"; - rev = "de2fead49d6af3a221db153642e4d7c2235aafc4"; - hash = "sha256-qgo8FMKo/uCbhUjfykRRN8KSavbyhZpu82M8npLcIPI="; + rev = "6b05c2a157118979cb472a38455ba78ca9729196"; + hash = "sha256-ozyReur1jjMl8fDUrdWbgcKedf+RDH5xCRsmEcnPQ9U="; }; makeFlags = [ "PREFIX=${placeholder "out"}" ]; nativeBuildInputs = [ wayland-scanner ]; - meta = with lib; { + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version" + "branch=HEAD" + ]; + }; + + meta = { homepage = "https://github.com/pop-os/cosmic-protocols"; description = "Additional wayland-protocols used by the COSMIC desktop environment"; - license = [ - licenses.mit - licenses.gpl3Only + license = with lib.licenses; [ + mit + gpl3Only ]; - maintainers = with maintainers; [ nyabinary ]; - platforms = platforms.linux; + maintainers = with lib.maintainers; [ + nyabinary + HeitorAugustoLN + ]; + platforms = lib.platforms.linux; }; }