nixpkgs-suyu/pkgs/tools/misc/wlr-randr/default.nix
2021-01-16 23:49:59 -08:00

23 lines
621 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, ninja, cmake, pkg-config, wayland }:
stdenv.mkDerivation rec {
pname = "wlr-randr";
version = "0.1.0";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "10c8zzp78s5bw34vvjhilipa28bsdx3jbyhnxgp8f8kawh3cvgsc";
};
nativeBuildInputs = [ meson ninja cmake pkg-config ];
buildInputs = [ wayland ];
meta = with lib; {
license = licenses.mit;
description = "An xrandr clone for wlroots compositors";
homepage = "https://github.com/emersion/wlr-randr";
maintainers = with maintainers; [ ma27 ];
};
}