23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
34 lines
737 B
Nix
34 lines
737 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wayland
|
|
, wayland-scanner
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wlr-randr";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-Pr9XEQUtbG3Mo/QjFMoY+oJTQIAVW+aaEjYHZqJgbbg=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
|
buildInputs = [ wayland ];
|
|
|
|
meta = with lib; {
|
|
description = "An xrandr clone for wlroots compositors";
|
|
homepage = "https://git.sr.ht/~emersion/wlr-randr";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "wlr-randr";
|
|
};
|
|
}
|