about summary refs log tree commit diff
path: root/pkgs/by-name/co/cosmic-protocols/package.nix
blob: 81c517b3699878aea25a349e83d7305b76558e60 (plain) (blame)
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
{ 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;
  };
}