Commit a42d93aa authored by Niko's avatar Niko
Browse files

cosmic-protocols: init at 0-unstable-2024-01-11

parent e71aeb0f
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, stdenv
, wayland-scanner
}:

stdenv.mkDerivation rec {
  pname = "cosmic-protocols";
  version = "0-unstable-2024-01-11";

  src = fetchFromGitHub {
    owner = "pop-os";
    repo = pname;
    rev = "e65fa5e2bb47e51656221657049bd3f88ae9dae5";
    hash = "sha256-vj7Wm1uJ5ULvGNEwKznNhujCZQiuntsWMyKQbIVaO/Q=";
  };

  makeFlags = [ "PREFIX=${placeholder "out"}" ];
  nativeBuildInputs = [ wayland-scanner ];

  meta = with lib; {
    homepage = "https://github.com/pop-os/cosmic-protocols";
    description = "Addtional wayland-protocols used by the COSMIC desktop environment";
    license = [ licenses.mit licenses.gpl3Only ];
    maintainers = with maintainers; [ nyanbinary ];
    platforms = platforms.linux;
  };
}