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