about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/wlr-randr/default.nix
blob: b635316bf777b50106816c692c1d603635039743 (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
{ lib, stdenv, fetchFromGitHub, meson, ninja, cmake, pkg-config, wayland }:

stdenv.mkDerivation rec {
  pname = "wlr-randr";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "emersion";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
  };

  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 ];
  };
}