1 { stdenv, lib, fetchFromGitHub
2 , imagemagick, pkg-config, wayland-scanner, wayland, wayland-protocols
7 pname = "hello-wayland";
8 version = "0-unstable-2024-03-04";
10 src = fetchFromGitHub {
12 repo = "hello-wayland";
13 rev = "5f3a35def81116f0a74fcaf5a421d66c6700482d";
14 hash = "sha256-gcLR8gosQlPPgFrxqmRQ6/59RjAfJNX6CcsYP+L+A58=";
17 separateDebugInfo = true;
19 depsBuildBuild = [ pkg-config ];
20 nativeBuildInputs = [ imagemagick pkg-config wayland-scanner ];
21 buildInputs = [ wayland wayland-protocols ];
26 install hello-wayland $out/bin
30 passthru.updateScript = unstableGitUpdater { };
33 description = "Hello world Wayland client";
34 homepage = "https://github.com/emersion/hello-wayland";
35 maintainers = with maintainers; [ qyliss ];
36 license = licenses.mit;
37 platforms = platforms.linux;
38 mainProgram = "hello-wayland";