2021-02-16 03:30:42 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayland
|
|
|
|
}:
|
2019-09-18 11:15:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wlr-randr";
|
2021-02-05 15:15:20 +00:00
|
|
|
version = "0.2.0";
|
2019-09-18 11:15:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = pname;
|
2020-07-27 14:49:23 +00:00
|
|
|
rev = "v${version}";
|
2021-02-05 15:15:20 +00:00
|
|
|
sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
|
2019-09-18 11:15:32 +00:00
|
|
|
};
|
|
|
|
|
2021-02-16 20:25:32 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2019-09-18 11:15:32 +00:00
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-18 11:15:32 +00:00
|
|
|
description = "An xrandr clone for wlroots compositors";
|
|
|
|
homepage = "https://github.com/emersion/wlr-randr";
|
2021-02-16 03:30:42 +00:00
|
|
|
license = licenses.mit;
|
2019-09-18 11:15:32 +00:00
|
|
|
maintainers = with maintainers; [ ma27 ];
|
2021-02-16 03:30:42 +00:00
|
|
|
platforms = platforms.unix;
|
2019-09-18 11:15:32 +00:00
|
|
|
};
|
|
|
|
}
|