aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/misc/wlr-randr/default.nix
blob: c9f4396469611c38363f1f921358946d54f91bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, meson, ninja, cmake, pkgconfig, wayland }:

stdenv.mkDerivation rec {
  pname = "wlr-randr";
  version = "unstable-2019-03-21";

  src = fetchFromGitHub {
    owner = "emersion";
    repo = pname;
    rev = "c4066aa3249963dc7877119cffce10f3fa8b6304";
    sha256 = "1ahw4sv07xg5rh9vr7j28636iaxs06vnybm3li6y8dz2sky7hk88";
  };

  nativeBuildInputs = [ meson ninja cmake pkgconfig ];
  buildInputs = [ wayland ];

  meta = with stdenv.lib; {
    license = licenses.mit;
    description = "An xrandr clone for wlroots compositors";
    homepage = "https://github.com/emersion/wlr-randr";
    maintainers = with maintainers; [ ma27 ];
  };
}