1 { lib, stdenv, fetchFromSourcehut, wayland, wayland-scanner }:
3 stdenv.mkDerivation rec {
7 src = fetchFromSourcehut {
8 owner = "~leon_plickat";
11 sha256 = "sha256-kcUJVB5jP2qZ1YgJDEBsyn5AgwhRxQmzOrk0gKj1MeM=";
15 nativeBuildInputs = [ wayland-scanner ];
16 buildInputs = [ wayland ];
18 installFlags = [ "PREFIX=$(out)" ];
21 description = "Simple client implementing zwlr-output-power-management-v1";
22 homepage = "https://git.sr.ht/~leon_plickat/wlopm";
23 mainProgram = "wlopm";
24 license = licenses.gpl3Only;
25 maintainers = with maintainers; [ arjan-s ];
26 platforms = platforms.linux;